mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03:00
d2d761b692
I could built pth with the fix commented in: http://forums.gentoo.org/viewtopic-t-904280-start-0.html And I remove the 'pth.supported' structure I had built.
21 lines
496 B
Nix
21 lines
496 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "pth-2.0.7";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnu/pth/${name}.tar.gz";
|
|
sha256 = "0ckjqw5kz5m30srqi87idj7xhpw6bpki43mj07bazjm2qmh3cdbj";
|
|
};
|
|
|
|
preConfigure = stdenv.lib.optionalString stdenv.isArm ''
|
|
configureFlagsArray=("CFLAGS=-DJB_SP=8 -DJB_PC=9")
|
|
'';
|
|
|
|
meta = {
|
|
description = "The GNU Portable Threads library";
|
|
homepage = http://www.gnu.org/software/pth;
|
|
platforms = stdenv.lib.platforms.all;
|
|
};
|
|
}
|