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

23 lines
631 B
Nix
Raw Normal View History

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "pth-2.0.7";
2018-08-20 18:43:43 +00:00
src = fetchurl {
url = "mirror://gnu/pth/${name}.tar.gz";
sha256 = "0ckjqw5kz5m30srqi87idj7xhpw6bpki43mj07bazjm2qmh3cdbj";
};
preConfigure = stdenv.lib.optionalString stdenv.isAarch32 ''
configureFlagsArray=("CFLAGS=-DJB_SP=8 -DJB_PC=9")
'';
2018-08-20 18:43:43 +00:00
meta = with stdenv.lib; {
description = "The GNU Portable Threads library";
homepage = https://www.gnu.org/software/pth;
2018-08-20 18:43:43 +00:00
license = licenses.lgpl21Plus;
platforms = platforms.all;
broken = stdenv.hostPlatform != stdenv.buildPlatform && stdenv.hostPlatform.isAarch64;
};
}