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