2024-09-14 11:14:03 -05:00
|
|
|
{
|
|
|
|
fetchFromGitHub,
|
|
|
|
buildNimPackage,
|
|
|
|
# deps
|
|
|
|
openssl,
|
|
|
|
|
|
|
|
}:
|
|
|
|
buildNimPackage (finalAttrs: {
|
|
|
|
pname = "nimble";
|
2024-11-15 09:24:51 -06:00
|
|
|
version = "0.16.3";
|
2024-09-14 11:14:03 -05:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nim-lang";
|
|
|
|
repo = "nimble";
|
|
|
|
rev = "v${finalAttrs.version}";
|
2024-11-15 09:24:51 -06:00
|
|
|
hash = "sha256-1tO/6sKPjmu9B6/cF00DeY/mnUHi2Y+hTEZ3WCqKoGw=";
|
|
|
|
fetchSubmodules = true;
|
2024-09-14 11:14:03 -05:00
|
|
|
};
|
|
|
|
buildInputs = [ openssl ];
|
|
|
|
doCheck = false;
|
2024-11-15 09:24:51 -06:00
|
|
|
|
|
|
|
# localPassC needed from zippy since name mangling on nix is broken
|
|
|
|
nimFlags = [
|
|
|
|
''--passC:"-msse4.1 -mpclmul"''
|
|
|
|
];
|
2024-09-14 11:14:03 -05:00
|
|
|
})
|