2019-11-16 18:40:10 +01:00
|
|
|
{ stdenv, fetchFromGitHub, gfortran, lhapdf, python2, zlib }:
|
2018-09-24 20:30:24 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "apfel";
|
2019-08-12 16:36:03 +02:00
|
|
|
version = "3.0.4";
|
2018-09-24 20:30:24 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "scarrazza";
|
|
|
|
repo = "apfel";
|
|
|
|
rev = version;
|
2019-08-12 16:36:03 +02:00
|
|
|
sha256 = "13n5ygbqvskg3qq5n4sff1nbii0li0zf1vqissai7x0hynxgy7p6";
|
2018-09-24 20:30:24 +02:00
|
|
|
};
|
|
|
|
|
2019-11-16 18:40:10 +01:00
|
|
|
buildInputs = [ gfortran lhapdf python2 zlib ];
|
2018-09-24 20:30:24 +02:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A PDF Evolution Library";
|
|
|
|
license = licenses.gpl3;
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://apfel.mi.infn.it/";
|
2018-09-24 20:30:24 +02:00
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ veprbl ];
|
|
|
|
};
|
|
|
|
}
|