9 rustPlatform.buildRustPackage rec {
11 version = "9.0"; # keep in sync with liana
13 src = fetchFromGitHub {
14 owner = "wizardsardine";
17 hash = "sha256-RFlICvoePwSglpheqMb+820My//LElnSeMDPFmXyHz0=";
20 useFetchCargoVendor = true;
21 cargoHash = "sha256-nj7L4glbjevVd1ef6RUGPm4hpzeNdnsCLC01BOJj6kI=";
23 buildInputs = [ udev ];
25 buildAndTestSubdir = "lianad";
28 install -Dm0644 ./contrib/lianad_config_example.toml $out/etc/liana/config.toml
31 # bypass broken unit tests
35 mainProgram = "lianad";
36 description = "Bitcoin wallet leveraging on-chain timelocks for safety and recovery";
37 homepage = "https://wizardsardine.com/liana";
38 license = lib.licenses.bsd3;
40 lib.maintainers.dunxen
41 lib.maintainers.plebhash
43 platforms = lib.platforms.linux;
44 broken = stdenv.hostPlatform.isAarch64;