mirror of
https://codeberg.org/puppe/financier-nix.git
synced 2025-12-20 00:12:17 +01:00
12 lines
341 B
Nix
12 lines
341 B
Nix
{
|
|
fetchFinancier = { fetchgit }:
|
|
let
|
|
financierLockData = (builtins.fromJSON
|
|
(builtins.readFile ./flake.lock)).nodes.financier.locked;
|
|
inherit (financierLockData) narHash owner repo rev;
|
|
url = "https://gitlab.com/${owner}/${repo}.git";
|
|
in fetchgit {
|
|
inherit url rev;
|
|
sha256 = narHash;
|
|
};
|
|
}
|