about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/pupnp
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/pupnp')
-rw-r--r--nixpkgs/pkgs/development/libraries/pupnp/default.nix34
1 files changed, 34 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/pupnp/default.nix b/nixpkgs/pkgs/development/libraries/pupnp/default.nix
new file mode 100644
index 000000000000..66a395801b27
--- /dev/null
+++ b/nixpkgs/pkgs/development/libraries/pupnp/default.nix
@@ -0,0 +1,34 @@
+{ fetchFromGitHub, stdenv, autoreconfHook }:
+
+stdenv.mkDerivation rec {
+  pname = "libupnp";
+  version = "1.8.4";
+
+  src = fetchFromGitHub {
+    owner = "mrjimenez";
+    repo = "pupnp";
+    rev = "release-${version}";
+    sha256 = "1daml02z4rs9cxls95p2v24jvwcsp43a0gqv06s84ay5yn6r47wx";
+  };
+  outputs = [ "dev" "out" ];
+
+  nativeBuildInputs = [ autoreconfHook ];
+
+  hardeningDisable = [ "fortify" ];
+
+  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://pupnp.sourceforge.net/;
+    platforms = stdenv.lib.platforms.unix;
+  };
+}