mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
26 lines
618 B
Nix
26 lines
618 B
Nix
{ 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 ];
|
|
};
|
|
}
|