2012-11-15 11:58:17 +04:00
|
|
|
{ stdenv, fetchurl }:
|
2012-04-09 14:17:32 +04:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-05-05 09:17:55 +03:00
|
|
|
name = "npth-1.2";
|
2012-04-09 14:17:32 +04:00
|
|
|
|
2012-11-15 11:58:17 +04:00
|
|
|
src = fetchurl {
|
|
|
|
url = "ftp://ftp.gnupg.org/gcrypt/npth/${name}.tar.bz2";
|
2015-05-05 09:17:55 +03:00
|
|
|
sha256 = "12n0nvhw4fzwp0k7gjv3rc6pdml0qiinbbfiz4ilg6pl5kdxvnvd";
|
2012-04-09 14:17:32 +04:00
|
|
|
};
|
|
|
|
|
2014-10-29 12:04:57 +03:00
|
|
|
meta = with stdenv.lib; {
|
2012-04-09 14:17:32 +04:00
|
|
|
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;
|
2014-10-29 12:04:57 +03:00
|
|
|
license = licenses.lgpl3;
|
|
|
|
platforms = platforms.all;
|
2012-04-09 14:17:32 +04:00
|
|
|
};
|
|
|
|
}
|