2020-11-12 09:05:59 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, trezor-udev-rules
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-11-12 09:05:59 +00:00
|
|
|
buildGoModule rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "trezord-go";
|
2020-11-12 09:05:59 +00:00
|
|
|
version = "2.0.30";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "trezor";
|
|
|
|
repo = "trezord-go";
|
|
|
|
rev = "v${version}";
|
2020-11-12 09:05:59 +00:00
|
|
|
sha256 = "1hzvk0wfgg7b4wpqjk3738yqxlv3pj5i7zxwm0jady2h97hmrqrr";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-11-12 09:05:59 +00:00
|
|
|
vendorSha256 = "0wb959xzyvr5zzjvkfqc422frmf97q5nr460f02wwx0pj6ch0y61";
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
propagatedBuildInputs = [ trezor-udev-rules ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "TREZOR Communication Daemon aka TREZOR Bridge";
|
|
|
|
homepage = "https://trezor.io";
|
|
|
|
license = licenses.lgpl3;
|
2020-08-20 17:08:02 +00:00
|
|
|
maintainers = with maintainers; [ canndrew jb55 prusnak mmahut _1000101 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|