2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv
|
2019-01-02 00:20:52 +00:00
|
|
|
, fetchurl
|
|
|
|
, meson
|
|
|
|
, ninja
|
2021-01-19 06:50:56 +00:00
|
|
|
, pkg-config
|
2019-01-02 00:20:52 +00:00
|
|
|
, gobject-introspection
|
|
|
|
, vala
|
|
|
|
, gtk-doc
|
|
|
|
, docbook_xsl
|
|
|
|
, docbook_xml_dtd_412
|
|
|
|
, docbook_xml_dtd_44
|
|
|
|
, glib
|
|
|
|
, gssdp
|
|
|
|
, libsoup
|
|
|
|
, libxml2
|
|
|
|
, libuuid
|
|
|
|
, gnome3
|
|
|
|
}:
|
2018-08-14 23:45:35 +01:00
|
|
|
|
2014-01-14 20:33:11 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-01-02 00:20:52 +00:00
|
|
|
pname = "gupnp";
|
2021-03-12 01:39:46 +00:00
|
|
|
version = "1.2.4";
|
2018-08-14 23:45:35 +01:00
|
|
|
|
|
|
|
outputs = [ "out" "dev" "devdoc" ];
|
2015-08-03 21:49:39 +01:00
|
|
|
|
2008-06-18 20:03:58 +01:00
|
|
|
src = fetchurl {
|
2021-01-21 17:00:13 +00:00
|
|
|
url = "mirror://gnome/sources/gupnp/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2021-03-12 01:39:46 +00:00
|
|
|
sha256 = "sha256-96AwfqUfXkTRuDL0k92QRURKOk4hHvhd/Zql3W6up9E=";
|
2008-06-18 20:03:58 +01:00
|
|
|
};
|
|
|
|
|
2019-01-02 00:20:52 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
2021-01-19 06:50:56 +00:00
|
|
|
pkg-config
|
2019-01-02 00:20:52 +00:00
|
|
|
gobject-introspection
|
|
|
|
vala
|
|
|
|
gtk-doc
|
|
|
|
docbook_xsl
|
|
|
|
docbook_xml_dtd_412
|
|
|
|
docbook_xml_dtd_44
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libuuid
|
2018-08-14 23:45:35 +01:00
|
|
|
];
|
|
|
|
|
2019-01-02 00:20:52 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
glib
|
|
|
|
gssdp
|
|
|
|
libsoup
|
|
|
|
libxml2
|
|
|
|
];
|
2012-03-13 19:06:10 +00:00
|
|
|
|
2019-01-02 00:20:52 +00:00
|
|
|
mesonFlags = [
|
|
|
|
"-Dgtk_doc=true"
|
2018-08-14 23:45:35 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = true;
|
2014-01-11 12:28:12 +00:00
|
|
|
|
2019-01-02 00:20:52 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://www.gupnp.org/";
|
2014-08-24 15:21:08 +01:00
|
|
|
description = "An implementation of the UPnP specification";
|
2018-08-14 23:45:35 +01:00
|
|
|
license = licenses.lgpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
2012-03-13 19:06:10 +00:00
|
|
|
};
|
2008-06-18 20:03:58 +01:00
|
|
|
}
|