mcfm: modernize derivation

This commit is contained in:
Guy Chronister
2026-02-16 18:24:29 -06:00
parent 2d60dacd90
commit f0500ffd86
@@ -13,13 +13,13 @@ let
python3 = null;
};
in
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "MCFM";
version = "10.0.1";
src = fetchurl {
url = "https://mcfm.fnal.gov/downloads/${pname}-${version}.tar.gz";
sha256 = "sha256-3Dg4KoILb0XhgGkzItDh/1opCtYrrIvtbuALYqPUvE8=";
url = "https://mcfm.fnal.gov/downloads/MCFM-${finalAttrs.version}.tar.gz";
hash = "sha256-3Dg4KoILb0XhgGkzItDh/1opCtYrrIvtbuALYqPUvE8=";
};
postPatch = ''
@@ -50,4 +50,4 @@ stdenv.mkDerivation rec {
maintainers = with lib.maintainers; [ veprbl ];
platforms = lib.platforms.x86_64;
};
}
})