2012-11-15 07:58:17 +00:00
|
|
|
{ stdenv, fetchurl }:
|
2012-04-09 11:17:32 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2012-11-15 07:58:17 +00:00
|
|
|
name = "npth-0.91";
|
2012-04-09 11:17:32 +01:00
|
|
|
|
2012-11-15 07:58:17 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "ftp://ftp.gnupg.org/gcrypt/npth/${name}.tar.bz2";
|
|
|
|
sha256 = "1qgs1n70x83dyyysabg50dh8s3464jwsa63qi5if2cd3sk78dvya";
|
2012-04-09 11:17:32 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|