balanceofsatoshis: 15.8.15 -> 19.4.10 (#388209)

This commit is contained in:
Donovan Glover
2025-03-10 09:05:43 +00:00
committed by GitHub
+5 -16
View File
@@ -2,39 +2,28 @@
lib,
buildNpmPackage,
fetchFromGitHub,
installShellFiles,
python3,
}:
buildNpmPackage rec {
pname = "balanceofsatoshis";
version = "15.8.15";
version = "19.4.10";
src = fetchFromGitHub {
owner = "alexbosworth";
repo = "balanceofsatoshis";
rev = "v${version}";
hash = "sha256-8GWITeFn7ELUH7bxcNlmQvgperQutBwVUhp2yjeEWrM=";
tag = "v${version}";
hash = "sha256-WJuxe3k8ZLlkB5SpvE1DSyxQsc5bYEKVsM8tt5vdYOU=";
};
npmDepsHash = "sha256-lTXv4pEjrzcOK68RO1K007r7dCbAyc45G8Oy8V3XLts=";
npmDepsHash = "sha256-dsWYUCPbiF/L3RcdcaWVn6TnU1/XMy9l7eQgHrBYW4o=";
nativeBuildInputs = [
installShellFiles
python3
];
nativeBuildInputs = [ python3 ];
dontNpmBuild = true;
npmFlags = [ "--ignore-scripts" ];
postInstall = ''
installShellCompletion --cmd bos \
--bash <($out/bin/bos completion bash) \
--zsh <($out/bin/bos completion zsh) \
--fish <($out/bin/bos completion fish)
'';
meta = {
changelog = "https://github.com/alexbosworth/balanceofsatoshis/blob/${src.rev}/CHANGELOG.md";
description = "Tool for working with the balance of your satoshis on LND";