3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/gupnp-dlna/default.nix

63 lines
1.2 KiB
Nix
Raw Normal View History

{ stdenv
, fetchurl
, pkgconfig
, gobject-introspection
, vala
, gtk-doc
, docbook_xsl
, docbook_xml_dtd_412
, libxml2
, gst_all_1
, gnome3
}:
2017-08-30 23:21:50 +01:00
stdenv.mkDerivation rec {
pname = "gupnp-dlna";
version = "0.10.5";
outputs = [ "out" "dev" "devdoc" ];
2017-08-30 23:21:50 +01:00
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2017-08-30 23:21:50 +01:00
sha256 = "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj";
};
nativeBuildInputs = [
pkgconfig
gobject-introspection
vala
gtk-doc
docbook_xsl
docbook_xml_dtd_412
];
buildInputs = [
libxml2
gst_all_1.gst-plugins-base
];
configureFlags = [
"--enable-gtk-doc"
];
doCheck = true;
postPatch = ''
chmod +x tests/test-discoverer.sh.in
patchShebangs tests/test-discoverer.sh.in
'';
2017-08-30 23:21:50 +01:00
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
};
};
meta = with stdenv.lib; {
homepage = "https://wiki.gnome.org/Projects/GUPnP/";
2017-08-30 23:21:50 +01:00
description = "Library to ease DLNA-related bits for applications using GUPnP";
license = licenses.lgpl2Plus;
platforms = platforms.linux;
2017-08-30 23:21:50 +01:00
};
}