diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/npth')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/npth/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/npth/default.nix b/nixpkgs/pkgs/development/libraries/npth/default.nix new file mode 100644 index 000000000000..c02998184fc5 --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/npth/default.nix @@ -0,0 +1,28 @@ +{ stdenv, fetchurl }: + +stdenv.mkDerivation rec { + name = "npth-1.6"; + + src = fetchurl { + url = "mirror://gnupg/npth/${name}.tar.bz2"; + sha256 = "1lg2lkdd3z1s3rpyf88786l243adrzyk9p4q8z9n41ygmpcsp4qk"; + }; + + doCheck = true; + + meta = with stdenv.lib; { + 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 = licenses.lgpl3; + platforms = platforms.all; + }; +} |