mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
26 lines
609 B
Nix
26 lines
609 B
Nix
{ stdenv, fetchFromGitHub, gfortran, lhapdf, python2 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "apfel";
|
|
version = "3.0.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "scarrazza";
|
|
repo = "apfel";
|
|
rev = version;
|
|
sha256 = "13n5ygbqvskg3qq5n4sff1nbii0li0zf1vqissai7x0hynxgy7p6";
|
|
};
|
|
|
|
buildInputs = [ gfortran lhapdf python2 ];
|
|
|
|
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 ];
|
|
};
|
|
}
|