bitbox: 4.48.6 -> 4.49.0

This commit is contained in:
Nicola Squartini
2025-11-23 12:28:05 +01:00
parent 5c2c2c2476
commit f4263e7c69
+6 -6
View File
@@ -5,7 +5,7 @@
runCommand,
buildNpmPackage,
clang,
go,
go_1_24,
libsForQt5,
qt6,
udevCheckHook,
@@ -21,14 +21,14 @@ let
in
stdenv.mkDerivation rec {
pname = "bitbox";
version = "4.48.6";
version = "4.49.0";
src = fetchFromGitHub {
owner = "BitBoxSwiss";
repo = "bitbox-wallet-app";
tag = "v${version}";
fetchSubmodules = true;
hash = "sha256-qNcwBaJywWMo/Bb1QkOM9FQ76Sf2DqULUr+W583ufAk=";
hash = "sha256-pl7vtRQCxRwG58bBnT8iAi2qfsdeJrHbzDeHJsYwjnQ=";
};
postPatch = ''
@@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
inherit version;
inherit src;
sourceRoot = "${src.name}/frontends/web";
npmDepsHash = "sha256-9NS85U4L5sLX3n/uN4p4CB5vfpWMMcnf6wESlFdQPlI=";
npmDepsHash = "sha256-J3jT286MZGTHgmRXKiXj7lod9wgoEVQrCfOGCtSyG/s=";
installPhase = "cp -r build $out";
};
@@ -72,7 +72,7 @@ stdenv.mkDerivation rec {
cp frontends/qt/build/BitBox $out/bin/bitbox
cp frontends/qt/build/assets.rcc $out/bin
cp frontends/qt/server/libserver.so $out/lib
install -Dt $out/lib/udev/rules.d ${./rules.d}/*
install -m 644 -Dt $out/lib/udev/rules.d ${./rules.d}/*
runHook postInstall
'';
@@ -81,7 +81,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
clang
go
go_1_24
qt6.wrapQtAppsHook
rcc
udevCheckHook