Skip to content

Commit

Permalink
lianad: init at 6.0 (NixOS#323696)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksanaa authored Sep 21, 2024
2 parents b41512d + 5067b8b commit d203fb0
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 1 deletion.
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16587,6 +16587,12 @@
githubId = 358550;
name = "Philip Lykke Carlsen";
};
plebhash = {
name = "plebhash";
email = "[email protected]";
github = "plebhash";
githubId = 147345153;
};
pleshevskiy = {
email = "[email protected]";
github = "pleshevskiy";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/by-name/li/liana/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ let
in
rustPlatform.buildRustPackage rec {
pname = "liana";
version = "6.0";
version = "6.0"; # keep in sync with lianad

src = fetchFromGitHub {
owner = "wizardsardine";
Expand Down
43 changes: 43 additions & 0 deletions pkgs/by-name/li/lianad/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
lib,
stdenv,
rustPlatform,
fetchFromGitHub,
udev,
}:

rustPlatform.buildRustPackage rec {
pname = "lianad";
version = "6.0"; # keep in sync with liana

src = fetchFromGitHub {
owner = "wizardsardine";
repo = "liana";
rev = "v${version}";
hash = "sha256-LLDgo4GoRTVYt72IT0II7O5wiMDrvJhe0f2yjzxQgsE=";
};

cargoHash = "sha256-a4hLtDXnEeTa0e1LcMkEPKEqGBp5bzWseq5Pe5ZYF1M=";

buildInputs = [ udev ];

postInstall = ''
install -Dm0644 ./contrib/lianad_config_example.toml $out/etc/liana/config.toml
'';

# bypass broken unit tests
doCheck = false;

meta = {
mainProgram = "lianad";
description = "Bitcoin wallet leveraging on-chain timelocks for safety and recovery";
homepage = "https://wizardsardine.com/liana";
license = lib.licenses.bsd3;
maintainers = [
lib.maintainers.dunxen
lib.maintainers.plebhash
];
platforms = lib.platforms.linux;
broken = stdenv.isAarch64;
};
}

0 comments on commit d203fb0

Please sign in to comment.