inputs: add nix-bitcoin
This commit is contained in:
parent
45a9ced99b
commit
909955098d
3 changed files with 26 additions and 0 deletions
21
inputs.nix
21
inputs.nix
|
@ -67,6 +67,27 @@ let self = {
|
|||
sha256 = "${lock.nixpkgs-unstable.sha256}";
|
||||
};
|
||||
};
|
||||
nix-bitcoin = rec {
|
||||
url = "https://github.com/fort-nix/nix-bitcoin/archive/${lock.nix-bitcoin.revision}.tar.gz";
|
||||
updateScript = pkgs.den-http-get-updater {
|
||||
fileLocation = lockFile;
|
||||
previousVersion = lock.nix-bitcoin.revision;
|
||||
versionUrl = "https://api.github.com/repos/fort-nix/nix-bitcoin/commits";
|
||||
contentParser = "jq -rc '.[0].sha' <<< \"$newVersion\"";
|
||||
prefetchList = [{
|
||||
previousHash = lock.nix-bitcoin.sha256;
|
||||
prefetchUrlLocation = {
|
||||
file = ./inputs.nix;
|
||||
attrpath = "nix-bitcoin.url";
|
||||
};
|
||||
}];
|
||||
};
|
||||
outPath = builtins.fetchTarball {
|
||||
inherit url;
|
||||
name = "nix-bitcoin";
|
||||
sha256 = "${lock.nix-bitcoin.sha256}";
|
||||
};
|
||||
};
|
||||
cosmic-modules = rec {
|
||||
url = "https://github.com/lilyinstarlight/nixos-cosmic/archive/${lock.cosmic-modules.revision}.tar.gz";
|
||||
updateScript = pkgs.den-http-get-updater {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue