2019-01-01 16:24:08 -08:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gobject-introspection, vala, gtk-doc, docbook_xsl, docbook_xml_dtd_412, libsoup, gtk3, glib }:
|
2008-02-26 12:47:30 -08:00
|
|
|
|
2017-03-12 17:41:00 -07:00
|
|
|
stdenv.mkDerivation rec {
|
2019-01-01 16:24:08 -08:00
|
|
|
name = "gssdp-${version}";
|
|
|
|
version = "1.0.2";
|
2012-03-13 12:06:03 -07:00
|
|
|
|
2018-08-14 15:37:30 -07:00
|
|
|
outputs = [ "out" "bin" "dev" "devdoc" ];
|
|
|
|
|
2008-02-26 12:47:30 -08:00
|
|
|
src = fetchurl {
|
2019-01-01 16:24:08 -08:00
|
|
|
url = "mirror://gnome/sources/gssdp/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
|
|
|
sha256 = "1p1m2m3ndzr2whipqw4vfb6s6ia0g7rnzzc4pnq8b8g1qw4prqd1";
|
2008-02-26 12:47:30 -08:00
|
|
|
};
|
|
|
|
|
2019-01-01 16:24:08 -08:00
|
|
|
nativeBuildInputs = [ pkgconfig gobject-introspection vala gtk-doc docbook_xsl docbook_xml_dtd_412 ];
|
2018-08-14 15:37:30 -07:00
|
|
|
buildInputs = [ libsoup gtk3 ];
|
2015-08-03 13:32:11 -07:00
|
|
|
propagatedBuildInputs = [ glib ];
|
2008-02-26 12:47:30 -08:00
|
|
|
|
2019-01-01 16:24:08 -08:00
|
|
|
configureFlags = [
|
|
|
|
"--enable-gtk-doc"
|
2018-08-14 15:37:30 -07:00
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2017-03-12 17:41:00 -07:00
|
|
|
meta = with stdenv.lib; {
|
2013-10-06 02:49:53 -07:00
|
|
|
description = "GObject-based API for handling resource discovery and announcement over SSDP";
|
2008-02-26 12:47:30 -08:00
|
|
|
homepage = http://www.gupnp.org/;
|
2018-08-14 15:37:30 -07:00
|
|
|
license = licenses.lgpl2Plus;
|
2017-03-12 17:41:00 -07:00
|
|
|
platforms = platforms.all;
|
2008-02-26 12:47:30 -08:00
|
|
|
};
|
|
|
|
}
|