nixpkgs/pkgs/servers/trezord/default.nix
2020-08-18 07:59:48 +10:00

26 lines
692 B
Nix

{ stdenv, buildGoPackage, fetchFromGitHub, trezor-udev-rules }:
buildGoPackage rec {
pname = "trezord-go";
version = "2.0.29";
goPackagePath = "github.com/trezor/trezord-go";
src = fetchFromGitHub {
owner = "trezor";
repo = "trezord-go";
rev = "v${version}";
sha256 = "1ks1fa0027s3xp0z6qp0dxmayvrb4dwwscfhbx7da0khp153f2cp";
};
propagatedBuildInputs = [ trezor-udev-rules ];
meta = with stdenv.lib; {
description = "TREZOR Communication Daemon aka TREZOR Bridge";
homepage = "https://trezor.io";
license = licenses.lgpl3;
maintainers = with maintainers; [ canndrew jb55 prusnak mmahut _1000101 ];
platforms = platforms.unix;
};
}