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

58 lines
1 KiB
Nix
Raw Normal View History

2019-03-16 01:03:31 +01:00
{ stdenv
, fetchurl
, pkgconfig
, gobject-introspection
, vala
, gtk-doc
, docbook_xsl
, docbook_xml_dtd_412
, glib
, libxml2
, gnome3
}:
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 {
2019-03-16 01:03:31 +01:00
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1p3grslwqm9bc8rmpn4l48d7v9s84nina4r9xbd932dbj8acz7b8";
};
2019-03-16 01:03:31 +01: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 01:03:31 +01:00
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
};
};
meta = with stdenv.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
}