2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2022-01-13 20:06:32 +00:00
|
|
|
pname = "npth";
|
|
|
|
version = "1.6";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2022-01-13 20:06:32 +00:00
|
|
|
url = "mirror://gnupg/npth/npth-${version}.tar.bz2";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "1lg2lkdd3z1s3rpyf88786l243adrzyk9p4q8z9n41ygmpcsp4qk";
|
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00: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";
|
|
|
|
license = licenses.lgpl3;
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|