2012-03-13 19:06:10 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, glib, libxml2, gssdp, libsoup, libuuid }:
|
2008-06-18 19:03:58 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2014-01-11 20:26:05 +00:00
|
|
|
name = "gupnp-0.20.9";
|
2014-01-11 12:28:12 +00:00
|
|
|
version = "0.20.9";
|
2008-06-18 19:03:58 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-01-11 12:28:12 +00:00
|
|
|
url = mirror://gnome/sources/gupnp/0.20/gupnp-0.20.9.tar.xz;
|
|
|
|
sha256 = "0vicydn3f72x1rqql7857ans85mg7dfap7n7h8xrfyb9whxhlrb1";
|
2008-06-18 19:03:58 +00:00
|
|
|
};
|
|
|
|
|
2012-03-13 19:06:10 +00:00
|
|
|
propagatedBuildInputs = [ libxml2 libsoup gssdp ];
|
|
|
|
buildInputs = [ glib libuuid ];
|
|
|
|
|
2012-12-28 18:20:09 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2012-03-13 19:06:10 +00:00
|
|
|
|
2014-01-11 12:28:12 +00:00
|
|
|
postInstall = ''
|
|
|
|
cp -r ${libsoup}/include/libsoup-2.4/libsoup $out/include
|
|
|
|
cp -r ${gssdp}/include/gssdp-1.0/libgssdp $out/include
|
|
|
|
cp -r ${libxml2}/include/libxml2/libxml $out/include
|
|
|
|
'';
|
|
|
|
|
2012-03-13 19:06:10 +00:00
|
|
|
meta = {
|
|
|
|
homepage = http://www.gupnp.org/;
|
2014-01-11 12:28:12 +00:00
|
|
|
description = "GUPnP is an implementation of the UPnP specification.";
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2012-03-13 19:06:10 +00:00
|
|
|
};
|
2008-06-18 19:03:58 +00:00
|
|
|
}
|