9 rustPlatform.buildRustPackage rec {
11 version = "6.0"; # keep in sync with liana
13 src = fetchFromGitHub {
14 owner = "wizardsardine";
17 hash = "sha256-LLDgo4GoRTVYt72IT0II7O5wiMDrvJhe0f2yjzxQgsE=";
20 cargoHash = "sha256-a4hLtDXnEeTa0e1LcMkEPKEqGBp5bzWseq5Pe5ZYF1M=";
22 buildInputs = [ udev ];
25 install -Dm0644 ./contrib/lianad_config_example.toml $out/etc/liana/config.toml
28 # bypass broken unit tests
32 mainProgram = "lianad";
33 description = "Bitcoin wallet leveraging on-chain timelocks for safety and recovery";
34 homepage = "https://wizardsardine.com/liana";
35 license = lib.licenses.bsd3;
37 lib.maintainers.dunxen
38 lib.maintainers.plebhash
40 platforms = lib.platforms.linux;
41 broken = stdenv.hostPlatform.isAarch64;