diff options
author | Mathijs Kwik <mathijs@bluescreen303.nl> | 2012-04-09 10:17:32 +0000 |
---|---|---|
committer | Mathijs Kwik <mathijs@bluescreen303.nl> | 2012-04-09 10:17:32 +0000 |
commit | 9779ae082af21abe17204c937a64145b1d35a005 (patch) | |
tree | 8cb9d475fa7de9013b4974752bdee3064f636bac /pkgs/development/libraries/npth | |
parent | 81d6e98d349e17ae8632673ee7605a6ceb1a8c1e (diff) | |
download | nixpkgs-9779ae082af21abe17204c937a64145b1d35a005.tar nixpkgs-9779ae082af21abe17204c937a64145b1d35a005.tar.gz nixpkgs-9779ae082af21abe17204c937a64145b1d35a005.tar.bz2 nixpkgs-9779ae082af21abe17204c937a64145b1d35a005.tar.lz nixpkgs-9779ae082af21abe17204c937a64145b1d35a005.tar.xz nixpkgs-9779ae082af21abe17204c937a64145b1d35a005.tar.zst nixpkgs-9779ae082af21abe17204c937a64145b1d35a005.zip |
npth: successor of the pth library, used by upcoming versions of gnupg and its libraries
svn path=/nixpkgs/trunk/; revision=33680
Diffstat (limited to 'pkgs/development/libraries/npth')
-rw-r--r-- | pkgs/development/libraries/npth/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/libraries/npth/default.nix b/pkgs/development/libraries/npth/default.nix new file mode 100644 index 00000000000..a9f80fa9348 --- /dev/null +++ b/pkgs/development/libraries/npth/default.nix @@ -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; + }; +} |