1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-17 10:24:15 +00:00
nixpkgs/pkgs/development/libraries/physics/apfel/default.nix
Renaud af6ffdaacb
apfel: fix build
Was failing on Hydra with:
ld: cannot find -lz
2019-11-16 18:40:10 +01:00

26 lines
620 B
Nix

{ stdenv, fetchFromGitHub, gfortran, lhapdf, python2, zlib }:
stdenv.mkDerivation rec {
pname = "apfel";
version = "3.0.4";
src = fetchFromGitHub {
owner = "scarrazza";
repo = "apfel";
rev = version;
sha256 = "13n5ygbqvskg3qq5n4sff1nbii0li0zf1vqissai7x0hynxgy7p6";
};
buildInputs = [ gfortran lhapdf python2 zlib ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "A PDF Evolution Library";
license = licenses.gpl3;
homepage = https://apfel.mi.infn.it/;
platforms = platforms.unix;
maintainers = with maintainers; [ veprbl ];
};
}