2019-01-02 01:14:08 +01:00
|
|
|
{ stdenv, fetchurl, meson, ninja, pkgconfig, gobject-introspection, vala, gtk-doc, docbook_xsl, docbook_xml_dtd_412, libsoup, gtk3, glib, gnome3 }:
|
2008-02-26 21:47:30 +01:00
|
|
|
|
2017-03-13 01:41:00 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-01-02 01:14:08 +01:00
|
|
|
pname = "gssdp";
|
|
|
|
version = "1.1.1";
|
2012-03-13 20:06:03 +01:00
|
|
|
|
2018-08-15 00:37:30 +02:00
|
|
|
outputs = [ "out" "bin" "dev" "devdoc" ];
|
|
|
|
|
2008-02-26 21:47:30 +01:00
|
|
|
src = fetchurl {
|
2019-01-02 01:14:08 +01:00
|
|
|
url = "mirror://gnome/sources/gssdp/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
|
|
sha256 = "0xwykd2ks3nyy67kirxbcl0xplj7mdjx5m3pqvgja129k0b1kf99";
|
2008-02-26 21:47:30 +01:00
|
|
|
};
|
|
|
|
|
2019-01-02 01:14:08 +01:00
|
|
|
nativeBuildInputs = [ meson ninja pkgconfig gobject-introspection vala gtk-doc docbook_xsl docbook_xml_dtd_412 ];
|
2018-08-15 00:37:30 +02:00
|
|
|
buildInputs = [ libsoup gtk3 ];
|
2015-08-03 22:32:11 +02:00
|
|
|
propagatedBuildInputs = [ glib ];
|
2008-02-26 21:47:30 +01:00
|
|
|
|
2019-01-02 01:14:08 +01:00
|
|
|
mesonFlags = [
|
|
|
|
"-Dgtk_doc=true"
|
2018-08-15 00:37:30 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2019-01-02 01:14:08 +01:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
versionPolicy = "none";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2017-03-13 01:41:00 +01:00
|
|
|
meta = with stdenv.lib; {
|
2013-10-06 11:49:53 +02:00
|
|
|
description = "GObject-based API for handling resource discovery and announcement over SSDP";
|
2008-02-26 21:47:30 +01:00
|
|
|
homepage = http://www.gupnp.org/;
|
2018-08-15 00:37:30 +02:00
|
|
|
license = licenses.lgpl2Plus;
|
2017-03-13 01:41:00 +01:00
|
|
|
platforms = platforms.all;
|
2008-02-26 21:47:30 +01:00
|
|
|
};
|
|
|
|
}
|