summary refs log tree commit diff
path: root/pkgs/development/libraries/physics/apfel/default.nix
blob: 4ebfd6fbfa37404eae427950060ca1610e23f305 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ 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 ];
  };
}