nixpkgs-suyu/pkgs/development/libraries/gupnp-av/default.nix

59 lines
1 KiB
Nix
Raw Normal View History

{ lib, stdenv
2019-03-16 01:03:31 +01:00
, fetchurl
, pkg-config
2019-03-16 01:03:31 +01:00
, gobject-introspection
, vala
, gtk-doc
, docbook_xsl
, docbook_xml_dtd_412
, glib
, libxml2
, gnome
2019-03-16 01:03:31 +01:00
}:
stdenv.mkDerivation rec {
2019-03-16 01:03:31 +01:00
pname = "gupnp-av";
version = "0.12.11";
outputs = [ "out" "dev" "devdoc" ];
2015-08-03 22:54:38 +02:00
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1p3grslwqm9bc8rmpn4l48d7v9s84nina4r9xbd932dbj8acz7b8";
};
2019-03-16 01:03:31 +01:00
nativeBuildInputs = [
pkg-config
2019-03-16 01:03:31 +01:00
gobject-introspection
vala
gtk-doc
docbook_xsl
docbook_xml_dtd_412
];
buildInputs = [
glib
libxml2
];
configureFlags = [
"--enable-gtk-doc"
];
doCheck = true;
2019-03-16 01:03:31 +01:00
passthru = {
updateScript = gnome.updateScript {
2019-03-16 01:03:31 +01:00
packageName = pname;
versionPolicy = "odd-unstable";
2019-03-16 01:03:31 +01:00
};
};
meta = with lib; {
homepage = "http://gupnp.org/";
2014-11-11 14:20:43 +01:00
description = "A collection of helpers for building AV (audio/video) applications using GUPnP";
license = licenses.lgpl2Plus;
platforms = platforms.linux;
};
2015-08-03 22:54:38 +02:00
}