oizys/pkgs/nim/nimble/default.nix

21 lines
392 B
Nix
Raw Normal View History

2024-09-14 11:14:03 -05:00
{
fetchFromGitHub,
buildNimPackage,
# deps
openssl,
}:
buildNimPackage (finalAttrs: {
pname = "nimble";
version = "0.16.1";
src = fetchFromGitHub {
owner = "nim-lang";
repo = "nimble";
rev = "v${finalAttrs.version}";
hash = "sha256-sa0irAZjQRZLduEMBPf7sHlY1FigBJTR/vIH4ihii/w=";
};
buildInputs = [ openssl ];
lockFile = ./lock.json;
doCheck = false;
})