nixpkgs/pkgs/by-name/ni/nim-unwrapped-2_0/package.nix
Emery Hemingway 4ad5948e8a nim-2_0: init at 2.0.10
Fix 350913
2024-10-28 10:26:14 +00:00

28 lines
649 B
Nix

{
lib,
fetchurl,
nim-unwrapped-1,
nim-unwrapped-2_2,
}:
nim-unwrapped-2_2.overrideAttrs (
finalAttrs: previousAttrs: {
version = "2.0.10";
src = fetchurl {
url = "https://nim-lang.org/download/nim-${finalAttrs.version}.tar.xz";
hash = "sha256-8UVDwjOpLHub0np9mEx4yfnBvXMyAwrBa+fFQMdbDqA=";
};
patches = lib.lists.unique (
builtins.filter (
p:
builtins.elem (builtins.baseNameOf p) [
"NIM_CONFIG_DIR.patch"
"nixbuild.patch"
"extra-mangling.patch"
"openssl.patch"
]
) (nim-unwrapped-1.patches ++ nim-unwrapped-2_2.patches)
);
}
)