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