Author: mkwik
Date: Mon Apr  9 10:17:32 2012
New Revision: 33680
URL: https://nixos.org/websvn/nix/?rev=33680&sc=1

Log:
npth: successor of the pth library, used by upcoming versions of gnupg and its 
libraries

Added:
   nixpkgs/trunk/pkgs/development/libraries/npth/
   nixpkgs/trunk/pkgs/development/libraries/npth/default.nix
Modified:
   nixpkgs/trunk/pkgs/top-level/all-packages.nix

Added: nixpkgs/trunk/pkgs/development/libraries/npth/default.nix
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ nixpkgs/trunk/pkgs/development/libraries/npth/default.nix   Mon Apr  9 
10:17:32 2012        (r33680)
@@ -0,0 +1,31 @@
+{ stdenv, fetchgit, autoconf, automake, libtool }:
+
+stdenv.mkDerivation rec {
+  name = "npth-git20120407";
+
+  src = fetchgit {
+    url = "git://git.gnupg.org/npth.git";
+    rev = "cbb52bd5ada02bbd914869f4540221831358d077";
+    sha256 = 
"1789b15bc49171d47bbd5a3bccbadc7dde1ae095bb2c205c7ec5d7a36573876d";
+  };
+
+  buildInputs = [ autoconf automake libtool ];
+
+  preConfigure = "autoreconf -vfi";
+
+  meta = {
+    description = "The New GNU Portable Threads Library";
+    longDescription = ''
+      This is a library to provide the GNU Pth API and thus a non-preemptive
+      threads implementation.
+
+      In contrast to GNU Pth is is based on the system's standard threads
+      implementation.  This allows the use of libraries which are not
+      compatible to GNU Pth.  Experience with a Windows Pth emulation showed
+      that this is a solid way to provide a co-routine based framework.
+    '';
+    homepage = http://www.gnupg.org;
+    license = "LGPLv3";
+    platforms = stdenv.lib.platforms.all;
+  };
+}

Modified: nixpkgs/trunk/pkgs/top-level/all-packages.nix
==============================================================================
--- nixpkgs/trunk/pkgs/top-level/all-packages.nix       Mon Apr  9 10:17:29 
2012        (r33679)
+++ nixpkgs/trunk/pkgs/top-level/all-packages.nix       Mon Apr  9 10:17:32 
2012        (r33680)
@@ -1087,6 +1087,8 @@
 
   nlopt = callPackage ../development/libraries/nlopt {};
 
+  npth = callPackage ../development/libraries/npth {};
+
   nmap = callPackage ../tools/security/nmap {
     inherit (pythonPackages) pysqlite;
   };
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to