nixpkgs/pkgs/development/libraries/npth/default.nix

29 lines
870 B
Nix
Raw Normal View History

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
2018-01-28 20:34:05 +03:00
name = "npth-1.5";
src = fetchurl {
url = "ftp://ftp.gnupg.org/gcrypt/npth/${name}.tar.bz2";
2018-01-28 20:34:05 +03:00
sha256 = "1hmkkp6vzyrh8v01c2ynzf9vwikyagp7p1lxhbnr4ysk3w66jji9";
};
2017-11-08 19:46:43 +03:00
doCheck = true;
2014-10-29 12:04:57 +03:00
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;
2014-10-29 12:04:57 +03:00
license = licenses.lgpl3;
platforms = platforms.all;
};
}