nixpkgs/pkgs/development/libraries/physics/apfel/default.nix

26 lines
622 B
Nix
Raw Normal View History

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