2018-12-02 11:41:15 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gettext, gobject-introspection, gtk-doc, docbook_xsl, docbook_xml_dtd_412, glib, gupnp }:
|
2018-09-08 01:07:59 +00:00
|
|
|
|
2012-03-13 19:06:17 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2015-08-03 20:49:57 +00:00
|
|
|
name = "gupnp-igd-${version}";
|
2018-09-08 01:07:59 +00:00
|
|
|
version = "0.2.5";
|
|
|
|
|
|
|
|
outputs = [ "out" "dev" "devdoc" ];
|
2012-03-13 19:06:17 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-09-08 01:07:59 +00:00
|
|
|
url = "mirror://gnome/sources/gupnp-igd/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
|
|
|
sha256 = "081v1vhkbz3wayv49xfiskvrmvnpx93k25am2wnarg5cifiiljlb";
|
2012-03-13 19:06:17 +00:00
|
|
|
};
|
|
|
|
|
2018-12-02 11:41:15 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig gettext gobject-introspection gtk-doc docbook_xsl docbook_xml_dtd_412 ];
|
2015-08-03 20:49:57 +00:00
|
|
|
propagatedBuildInputs = [ glib gupnp ];
|
2012-03-13 19:06:17 +00:00
|
|
|
|
2018-09-08 01:07:59 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--enable-gtk-doc"
|
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Library to handle UPnP IGD port mapping";
|
2012-03-13 19:06:17 +00:00
|
|
|
homepage = http://www.gupnp.org/;
|
2018-09-08 01:07:59 +00:00
|
|
|
license = licenses.lgpl21;
|
|
|
|
platforms = platforms.linux;
|
2012-03-13 19:06:17 +00:00
|
|
|
};
|
|
|
|
}
|