nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 37 lines 715 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 gfortran, 6 perl, 7}: 8 9stdenv.mkDerivation rec { 10 pname = "hoppet"; 11 version = "1.2.0"; 12 13 src = fetchurl { 14 url = "https://hoppet.hepforge.org/downloads/${pname}-${version}.tgz"; 15 sha256 = "0j7437rh4xxbfzmkjr22ry34xm266gijzj6mvrq193fcsfzipzdz"; 16 }; 17 18 nativeBuildInputs = [ 19 perl 20 gfortran 21 ]; 22 23 enableParallelBuilding = true; 24 25 preConfigure = '' 26 patchShebangs . 27 ''; 28 29 meta = with lib; { 30 description = "Higher Order Perturbative Parton Evolution Toolkit"; 31 mainProgram = "hoppet-config"; 32 license = licenses.gpl2; 33 homepage = "https://hoppet.hepforge.org"; 34 platforms = platforms.unix; 35 maintainers = with maintainers; [ veprbl ]; 36 }; 37}