about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/physics/apfel/default.nix
blob: b0fff0c92ba5d2a1234892c2846030db3bf5d152 (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
{ lib, stdenv, fetchFromGitHub, gfortran, lhapdf, python2, zlib }:

stdenv.mkDerivation rec {
  pname = "apfel";
  version = "3.0.5";

  src = fetchFromGitHub {
    owner = "scarrazza";
    repo = "apfel";
    rev = version;
    sha256 = "sha256-szEtSC/NouYlHSjVoX9Hoh7yQ0W82rVccYEF1L2tXoU=";
  };

  buildInputs = [ gfortran lhapdf python2 zlib ];

  enableParallelBuilding = true;

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