https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
11 lines
244 B
Nix
11 lines
244 B
Nix
generic: {
|
|
v50 = generic {
|
|
version = "5.0.19";
|
|
sha256 = "sha256-esa7DczdaWiG8Ru9py8HlOhvhkjV8IQjMwuiJ6F5c6E=";
|
|
};
|
|
|
|
v40 = generic {
|
|
version = "4.0.37";
|
|
sha256 = "sha256-Wuexl8I2zA63jyTRDe8bMSP++imwSOxc4LEdUnH8jps=";
|
|
};
|
|
}
|