From db0158f292a90aa730f6b271adee2e4effe746a2 Mon Sep 17 00:00:00 2001 From: "Yury G. Kudryashov" Date: Tue, 13 Mar 2012 19:06:17 +0000 Subject: [PATCH] gupnp-igd svn path=/nixpkgs/trunk/; revision=33039 --- .../libraries/gupnp-igd/default.nix | 21 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 23 insertions(+) create mode 100644 pkgs/development/libraries/gupnp-igd/default.nix diff --git a/pkgs/development/libraries/gupnp-igd/default.nix b/pkgs/development/libraries/gupnp-igd/default.nix new file mode 100644 index 000000000000..bd930e5ecf64 --- /dev/null +++ b/pkgs/development/libraries/gupnp-igd/default.nix @@ -0,0 +1,21 @@ +{ stdenv, fetchurl, pkgconfig, glib, gupnp, python, pygobject }: + +stdenv.mkDerivation rec { + name = "gupnp-igd-0.2.1"; + + src = fetchurl { + url = "http://www.gupnp.org/sites/all/files/sources/${name}.tar.gz"; + sha256 = "18ia8l24hbylz3dnbg2jf848bmbx0hjkq4fkwzzfn57z021f0fh2"; + }; + + propagatedBuildInputs = [ gupnp ]; + + buildInputs = [ glib python pygobject ]; + + buildNativeInputs = [ pkgconfig ]; + + meta = { + homepage = http://www.gupnp.org/; + }; +} + diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index dacbbe2b2561..44e77c978ee4 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -822,6 +822,8 @@ let inherit (gnome) libsoup; }; + gupnp_igd = callPackage ../development/libraries/gupnp-igd {}; + gupnptools = callPackage ../tools/networking/gupnp-tools { inherit (gnome) libsoup libglade gnomeicontheme; };