mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-11 14:54:12 +00:00
13 lines
428 B
Nix
13 lines
428 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 = "sat";
|
||
|
rev = tools.findKeyValue "^ +SatStableCommit = \"([a-f0-9]+)\"$" sourceFile;
|
||
|
# WARNING: Requires manual updates when Nim compiler version changes.
|
||
|
hash = "sha256-JFrrSV+mehG0gP7NiQ8hYthL0cjh44HNbXfuxQNhq7c=";
|
||
|
}
|