From 194f865bd43c2ec2ce4fb3abf4e1e56b94f20a7f Mon Sep 17 00:00:00 2001 From: plebhash Date: Sun, 30 Jun 2024 22:22:03 -0300 Subject: [PATCH 1/3] lianad: init at 6.0 --- pkgs/by-name/li/lianad/package.nix | 43 ++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 pkgs/by-name/li/lianad/package.nix diff --git a/pkgs/by-name/li/lianad/package.nix b/pkgs/by-name/li/lianad/package.nix new file mode 100644 index 0000000000000..b2730c55a5bcc --- /dev/null +++ b/pkgs/by-name/li/lianad/package.nix @@ -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; + }; +} From 7ac2ec59781a992585353fa3eb4f181c1544f980 Mon Sep 17 00:00:00 2001 From: plebhash Date: Fri, 2 Aug 2024 12:35:56 -0400 Subject: [PATCH 2/3] maintainers: add plebhash --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 631b7298e1cac..936101d339d14 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -16330,6 +16330,12 @@ githubId = 358550; name = "Philip Lykke Carlsen"; }; + plebhash = { + name = "plebhash"; + email = "plebhash@proton.me"; + github = "plebhash"; + githubId = 147345153; + }; pleshevskiy = { email = "dmitriy@pleshevski.ru"; github = "pleshevskiy"; From 5067b8bc0c25ab1a92ddb0191ce50fd7b39e463f Mon Sep 17 00:00:00 2001 From: plebhash Date: Mon, 9 Sep 2024 22:27:47 -0300 Subject: [PATCH 3/3] liana: add notice to keep version in sync with lianad --- pkgs/by-name/li/liana/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/li/liana/package.nix b/pkgs/by-name/li/liana/package.nix index 25f72398ad408..ee5147b7d0913 100644 --- a/pkgs/by-name/li/liana/package.nix +++ b/pkgs/by-name/li/liana/package.nix @@ -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";