2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv
|
2019-01-02 00:20:52 +00:00
|
|
|
, fetchurl
|
2021-06-03 21:25:14 +00:00
|
|
|
, fetchpatch
|
2019-01-02 00:20:52 +00:00
|
|
|
, 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
|
2021-05-07 21:18:14 +00:00
|
|
|
, gnome
|
2019-01-02 00:20:52 +00:00
|
|
|
}:
|
2018-08-14 22:45:35 +00:00
|
|
|
|
2014-01-14 20:33:11 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-01-02 00:20:52 +00:00
|
|
|
pname = "gupnp";
|
2021-06-27 17:33:17 +00:00
|
|
|
version = "1.2.7";
|
2018-08-14 22:45:35 +00:00
|
|
|
|
|
|
|
outputs = [ "out" "dev" "devdoc" ];
|
2015-08-03 20:49:39 +00:00
|
|
|
|
2008-06-18 19:03:58 +00: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-06-27 17:33:17 +00:00
|
|
|
sha256 = "sha256-hEEnbxr9AXbm9ZUCajpQfu0YCav6BAJrrT8hYis1I+w=";
|
2008-06-18 19:03:58 +00: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 22:45:35 +00: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 22:45:35 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = true;
|
2014-01-11 12:28:12 +00:00
|
|
|
|
2019-01-02 00:20:52 +00:00
|
|
|
passthru = {
|
2021-05-07 21:18:14 +00:00
|
|
|
updateScript = gnome.updateScript {
|
2019-01-02 00:20:52 +00:00
|
|
|
packageName = pname;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://www.gupnp.org/";
|
2014-08-24 14:21:08 +00:00
|
|
|
description = "An implementation of the UPnP specification";
|
2018-08-14 22:45:35 +00:00
|
|
|
license = licenses.lgpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
2012-03-13 19:06:10 +00:00
|
|
|
};
|
2008-06-18 19:03:58 +00:00
|
|
|
}
|