2010-07-28 12:55:54 +01:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
2008-01-28 19:43:03 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2010-07-28 12:55:54 +01:00
|
|
|
name = "pth-2.0.7";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnu/pth/${name}.tar.gz";
|
|
|
|
sha256 = "0ckjqw5kz5m30srqi87idj7xhpw6bpki43mj07bazjm2qmh3cdbj";
|
|
|
|
};
|
2008-01-28 19:43:03 +00:00
|
|
|
|
2012-11-15 10:18:38 +00:00
|
|
|
preConfigure = stdenv.lib.optionalString stdenv.isArm ''
|
|
|
|
configureFlagsArray=("CFLAGS=-DJB_SP=8 -DJB_PC=9")
|
|
|
|
'';
|
2012-11-14 22:20:47 +00:00
|
|
|
|
2010-07-28 12:55:54 +01:00
|
|
|
meta = {
|
|
|
|
description = "The GNU Portable Threads library";
|
|
|
|
homepage = http://www.gnu.org/software/pth;
|
2011-11-01 22:38:05 +00:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
2010-07-28 12:55:54 +01:00
|
|
|
};
|
2008-01-28 19:43:03 +00:00
|
|
|
}
|