Update location of financier repository

It is now hosted at codeberg.org.
This commit is contained in:
Martin Puppe 2022-04-08 01:57:25 +02:00
parent dd5f51d9cc
commit 36bf32ac57
3 changed files with 13 additions and 14 deletions

19
flake.lock generated
View file

@ -3,17 +3,18 @@
"financier": { "financier": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1643285999, "lastModified": 1649374330,
"narHash": "sha256-t0fdmgXtL5oh1sORK/9Uv8lDFXW2GCkQg+LGWyo8mXw=", "narHash": "sha256-Q/WQHktGYfpLHz+Pu9YYpWEA0qXb7lo3Hn6KhdwgOhE=",
"owner": "mpuppe", "ref": "mpuppe",
"repo": "financier", "rev": "0b9aeb76e3e5bffa1e59041d6e52715b6b641c7a",
"rev": "feb17f4bfba2121043be68d6ab74573c6be2a06d", "revCount": 614,
"type": "gitlab" "type": "git",
"url": "https://codeberg.org/puppe/financier.git"
}, },
"original": { "original": {
"owner": "mpuppe", "ref": "mpuppe",
"repo": "financier", "type": "git",
"type": "gitlab" "url": "https://codeberg.org/puppe/financier.git"
} }
}, },
"flake-utils": { "flake-utils": {

View file

@ -1,7 +1,7 @@
{ {
inputs.flake-utils.url = "github:numtide/flake-utils"; inputs.flake-utils.url = "github:numtide/flake-utils";
inputs.financier = { inputs.financier = {
url = "gitlab:mpuppe/financier"; url = "git+https://codeberg.org/puppe/financier.git?ref=mpuppe";
flake = false; flake = false;
}; };

View file

@ -3,10 +3,8 @@
let let
financierLockData = (builtins.fromJSON financierLockData = (builtins.fromJSON
(builtins.readFile ./flake.lock)).nodes.financier.locked; (builtins.readFile ./flake.lock)).nodes.financier.locked;
inherit (financierLockData) narHash owner repo rev;
url = "https://gitlab.com/${owner}/${repo}.git";
in fetchgit { in fetchgit {
inherit url rev; inherit (financierLockData) url rev;
sha256 = narHash; sha256 = financierLockData.narHash;
}; };
} }