15 src = fetchFromGitHub {
19 fetchSubmodules = true;
20 hash = "sha256-3I6NOzDMhzRyVSOURl7TjJ1Z0P0RcKrSs5rNaZ0Ho9M=";
23 vendorHash = "sha256-wXgAmZEXdM4FcMCQbAs+ydXshCAMu7nl/yVv/3sqaXE=";
27 url = "https://github.com/trezor/trezord-go/commit/616473d53a8ae49f1099e36ab05a2981a08fa606.patch";
28 hash = "sha256-yKTwgqWr4L6XEPV85A6D1wpRdpef8hkIbl4LrRmOyuo=";
32 propagatedBuildInputs = lib.optionals stdenv.isLinux [ trezor-udev-rules ]
33 ++ lib.optionals stdenv.isDarwin [ AppKit ];
37 "-X main.githash=${commit}"
41 description = "Trezor Communication Daemon aka Trezor Bridge";
42 homepage = "https://trezor.io";
43 license = licenses.lgpl3Only;
44 maintainers = with maintainers; [ canndrew jb55 prusnak mmahut _1000101 ];
45 mainProgram = "trezord-go";