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

58 lines
1.0 KiB
Nix
Raw Normal View History

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