17 src = fetchFromGitHub {
21 fetchSubmodules = true;
22 hash = "sha256-3I6NOzDMhzRyVSOURl7TjJ1Z0P0RcKrSs5rNaZ0Ho9M=";
25 vendorHash = "sha256-wXgAmZEXdM4FcMCQbAs+ydXshCAMu7nl/yVv/3sqaXE=";
29 url = "https://github.com/trezor/trezord-go/commit/616473d53a8ae49f1099e36ab05a2981a08fa606.patch";
30 hash = "sha256-yKTwgqWr4L6XEPV85A6D1wpRdpef8hkIbl4LrRmOyuo=";
34 propagatedBuildInputs =
35 lib.optionals stdenv.hostPlatform.isLinux [ trezor-udev-rules ]
36 ++ lib.optionals stdenv.hostPlatform.isDarwin [ AppKit ];
41 "-X main.githash=${commit}"
44 passthru.tests = { inherit (nixosTests) trezord; };
47 description = "Trezor Communication Daemon aka Trezor Bridge";
48 homepage = "https://trezor.io";
49 license = licenses.lgpl3Only;
50 maintainers = with maintainers; [
57 mainProgram = "trezord-go";