mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
bitbox-bridge: add passthru attributes
nixos tests and nix-update-script added Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com>
This commit is contained in:
parent
a27582f5fe
commit
b20f328908
1 changed files with 7 additions and 0 deletions
|
@ -5,6 +5,8 @@
|
|||
rustPlatform,
|
||||
pkg-config,
|
||||
libudev-zero,
|
||||
nixosTests,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
|
@ -41,6 +43,11 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
|||
install -Dm644 bitbox-bridge/release/linux/hid-digitalbitbox.rules $out/etc/udev/rules.d/50-hid-digitalbitbox.rules
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
tests.basic = nixosTests.bitbox-bridge;
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "A bridge service that connects web wallets like Rabby to BitBox02";
|
||||
homepage = "https://github.com/BitBoxSwiss/bitbox-bridge";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue