2012-11-15 07:58:17 +00:00
|
|
|
{ stdenv, fetchurl }:
|
2012-04-09 11:17:32 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-07-18 04:51:26 +01:00
|
|
|
name = "npth-1.6";
|
2012-04-09 11:17:32 +01:00
|
|
|
|
2012-11-15 07:58:17 +00:00
|
|
|
src = fetchurl {
|
2018-06-09 17:14:54 +01:00
|
|
|
url = "mirror://gnupg/npth/${name}.tar.bz2";
|
2018-07-18 04:51:26 +01:00
|
|
|
sha256 = "1lg2lkdd3z1s3rpyf88786l243adrzyk9p4q8z9n41ygmpcsp4qk";
|
2012-04-09 11:17:32 +01:00
|
|
|
};
|
|
|
|
|
2017-11-08 16:46:43 +00:00
|
|
|
doCheck = true;
|
|
|
|
|
2014-10-29 09:04:57 +00:00
|
|
|
meta = with stdenv.lib; {
|
2012-04-09 11:17:32 +01: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 09:04:57 +00:00
|
|
|
license = licenses.lgpl3;
|
|
|
|
platforms = platforms.all;
|
2012-04-09 11:17:32 +01:00
|
|
|
};
|
|
|
|
}
|