From be651cd73a749099216bb0f0fa2c674ba87925ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Tue, 7 Oct 2008 21:18:01 +0000 Subject: [PATCH] Add libupnp, a UPnP implementation. svn path=/nixpkgs/trunk/; revision=12995 --- .../development/libraries/libupnp/default.nix | 25 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 4 +++ 2 files changed, 29 insertions(+) create mode 100644 pkgs/development/libraries/libupnp/default.nix diff --git a/pkgs/development/libraries/libupnp/default.nix b/pkgs/development/libraries/libupnp/default.nix new file mode 100644 index 000000000000..125a03026424 --- /dev/null +++ b/pkgs/development/libraries/libupnp/default.nix @@ -0,0 +1,25 @@ +{ fetchurl, stdenv }: + +stdenv.mkDerivation rec { + name = "libupnp-1.3.1"; + + src = fetchurl { + url = "mirror://sourceforge/upnp/${name}.tar.gz"; + sha256 = "0zbng3zk4br70l8snn765nf89pmkw7wdh8gf6vxmf9r2099nl3ad"; + }; + + meta = { + description = "libupnp, an open source UPnP development kit for Linux"; + + longDescription = '' + The Linux SDK for UPnP Devices (libupnp) provides developers + with an API and open source code for building control points, + devices, and bridges that are compliant with Version 1.0 of the + UPnP Device Architecture Specification. + ''; + + license = "BSD-style"; + + homepage = http://upnp.sourceforge.net/; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 93b71e8023a2..a0ca9901a385 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3261,6 +3261,10 @@ let inherit fetchurl stdenv libtool; }; + libupnp = import ../development/libraries/libupnp { + inherit fetchurl stdenv; + }; + giflib = import ../development/libraries/giflib { inherit fetchurl stdenv; };