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