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

View file

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

View file

@ -3,10 +3,8 @@
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;
inherit (financierLockData) url rev;
sha256 = financierLockData.narHash;
};
}