13 lines
440 B
Nix
13 lines
440 B
Nix
{ 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 = "checksums";
|
|
rev = tools.findKeyValue "^ +ChecksumsStableCommit = \"([a-f0-9]+)\"$" sourceFile;
|
|
# WARNING: Requires manual updates when Nim compiler version changes.
|
|
hash = "sha256-AIiMBqLcGJCTkINHfJ2dN3ogitU7Za9Z9Sv9zjKeOQk=";
|
|
}
|