2024-04-06 22:10:15 +00:00
|
|
|
{ pkgs ? import <nixpkgs> { } }:
|
|
|
|
|
|
|
|
let
|
|
|
|
tools = pkgs.callPackage ./tools.nix {};
|
|
|
|
sourceFile = ../vendor/nimbus-build-system/vendor/Nim/koch.nim;
|
|
|
|
in pkgs.fetchFromGitHub {
|
|
|
|
owner = "nim-lang";
|
|
|
|
repo = "nimble";
|
|
|
|
rev = tools.findKeyValue "^ +NimbleStableCommit = \"([a-f0-9]+)\".+" sourceFile;
|
|
|
|
# WARNING: Requires manual updates when Nim compiler version changes.
|
2024-10-03 15:13:44 +00:00
|
|
|
hash = "sha256-sa0irAZjQRZLduEMBPf7sHlY1FigBJTR/vIH4ihii/w=";
|
2024-04-06 22:10:15 +00:00
|
|
|
}
|