mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 15:44:20 +00:00
d78c170e46
Release Notes: https://github.com/wizardsardine/liana/releases/tag/v7.0 https://github.com/wizardsardine/liana/releases/tag/v8.0 Changes: wizardsardine/liana@v6.0...v8.0
44 lines
983 B
Nix
44 lines
983 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
udev,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "lianad";
|
|
version = "8.0"; # keep in sync with liana
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "wizardsardine";
|
|
repo = "liana";
|
|
rev = "v${version}";
|
|
hash = "sha256-2aIaRZNIRgFdA+NVnzOkEE3kYA15CoNBrsNGBhIz0nU=";
|
|
};
|
|
|
|
cargoHash = "sha256-/EkDAZPNka+vRWsAo4i/65lufUu8N/m8cfBsOInjaxQ=";
|
|
|
|
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.hostPlatform.isAarch64;
|
|
};
|
|
}
|