mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +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,
|
rustPlatform,
|
||||||
pkg-config,
|
pkg-config,
|
||||||
libudev-zero,
|
libudev-zero,
|
||||||
|
nixosTests,
|
||||||
|
nix-update-script,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage (finalAttrs: {
|
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
|
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 = {
|
meta = {
|
||||||
description = "A bridge service that connects web wallets like Rabby to BitBox02";
|
description = "A bridge service that connects web wallets like Rabby to BitBox02";
|
||||||
homepage = "https://github.com/BitBoxSwiss/bitbox-bridge";
|
homepage = "https://github.com/BitBoxSwiss/bitbox-bridge";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue