2 files changed +58
-0
lines changed Original file line number Diff line number Diff line change 10397
10397
githubId = 94313;
10398
10398
name = "Xianyi Lin";
10399
10399
};
10400
+ izelnakri = {
10401
+ email = "contact@izelnakri.com";
10402
+ github = "izelnakri";
10403
+ githubId = 1190931;
10404
+ name = "Izel Nakri";
10405
+ };
10400
10406
izorkin = {
10401
10407
email = "Izorkin@gmail.com";
10402
10408
github = "Izorkin";
Original file line number Diff line number Diff line change
1
+ {
2
+ lib ,
3
+ stdenv ,
4
+ fetchFromGitHub ,
5
+ rustPlatform ,
6
+ pkgs ,
7
+ } :
8
+
9
+ rustPlatform . buildRustPackage rec {
10
+ pname = "bitbox-bridge" ;
11
+ version = "1.6.1" ;
12
+
13
+ src = fetchFromGitHub {
14
+ owner = "BitBoxSwiss" ;
15
+ repo = "bitbox-bridge" ;
16
+ rev = "v${ version } " ;
17
+ fetchSubmodules = true ;
18
+ hash = "sha256-+pMXWXGHyyBx3N0kiro9NS0mPmSQzzBmp+pkoBLH7z0=" ;
19
+ } ;
20
+
21
+ useFetchCargoVendor = true ;
22
+ cargoHash = "sha256-6vD0XjGH1PXjiRjgnHWSZSixXOc2Yecui8U5FAGefBU=" ;
23
+
24
+ nativeBuildInputs = [
25
+ pkgs . pkg-config
26
+ ] ;
27
+
28
+ buildInputs = [
29
+ pkgs . libudev-zero
30
+ ] ;
31
+
32
+ doCheck = false ;
33
+
34
+ meta = with stdenv . lib ; {
35
+ description = "A bridge service that connects web wallets like Rabbit to BitBox02" ;
36
+ homepage = "https://github.com/BitBoxSwiss/bitbox-bridge" ;
37
+ downloadPage = "https://bitbox.swiss/download/" ;
38
+ changelog = "https://github.com/BitBoxSwiss/bitbox-bridge/blob/master/CHANGELOG.md#${
39
+ builtins . replaceStrings [ "." ] [ "" ] version
40
+ } " ;
41
+ license = lib . licenses . asl20 ;
42
+ maintainers = [
43
+ lib . maintainers . izelnakri
44
+ lib . maintainers . tensor5
45
+ ] ;
46
+ mainProgram = "bitbox-bridge" ;
47
+ platforms = [
48
+ "x86_64-linux"
49
+ "aarch64-linux"
50
+ ] ;
51
+ } ;
52
+ }
0 commit comments