about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/physics/apfel/default.nix
blob: 3eb4ddaab693ee91fe0dd0871652872891ade23b (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 }:

stdenv.mkDerivation rec {
  name = "apfel-${version}";
  version = "3.0.3";

  src = fetchFromGitHub {
    owner = "scarrazza";
    repo = "apfel";
    rev = version;
    sha256 = "13dvcc5ba6djflrcy5zf5ikaw8s78zd8ac6ickc0hxhbmx1gjb4j";
  };

  buildInputs = [ gfortran lhapdf python2 ];

  enableParallelBuilding = true;

  meta = with stdenv.lib; {
    description = "A PDF Evolution Library";
    license     = licenses.gpl3;
    homepage    = http://apfel.mi.infn.it/;
    platforms   = platforms.unix;
    maintainers = with maintainers; [ veprbl ];
  };
}