2026-04-03 02:42:52 +02:00
|
|
|
# Fetches Nimble at the exact revision pinned in nimble.lock.
|
|
|
|
|
# Regenerate sha256 with:
|
|
|
|
|
# nix shell nixpkgs#nix-prefetch-git --command \
|
|
|
|
|
# nix-prefetch-git --url <url> --rev <vcsRevision> --fetch-submodules
|
|
|
|
|
{ pkgs }:
|
2025-03-31 14:08:20 +02:00
|
|
|
let
|
2026-04-03 02:42:52 +02:00
|
|
|
lock = builtins.fromJSON (builtins.readFile ../nimble.lock);
|
|
|
|
|
entry = lock.packages.nimble;
|
|
|
|
|
in
|
|
|
|
|
pkgs.fetchgit {
|
|
|
|
|
url = entry.url;
|
2026-04-03 15:56:34 +02:00
|
|
|
rev = "v${entry.version}";
|
|
|
|
|
sha256 = "18cwsjwcgjmnm42kr310hfbw06lym3vaj641i4pla6r8w22xqpqd";
|
2026-04-03 02:42:52 +02:00
|
|
|
fetchSubmodules = true;
|
2025-11-20 13:40:08 +01:00
|
|
|
}
|