forked from mirrors/nixpkgs
trillian: init at 1.3.11
This commit is contained in:
parent
5322c1f7d7
commit
7412b9f065
43
pkgs/tools/misc/trillian/default.nix
Normal file
43
pkgs/tools/misc/trillian/default.nix
Normal file
|
@ -0,0 +1,43 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
let
|
||||
pname = "trillian";
|
||||
version = "1.3.11";
|
||||
|
||||
in
|
||||
buildGoModule {
|
||||
inherit pname version;
|
||||
vendorSha256 = "0zxp1gjzcc3z6vkpc2bchbs1shwm1b28ks0jh4gf6zxpp4361j4l";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "google";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1lh19wba90y91l5jj8ilzjqxgmqqqdvyn7pzrwvmzv7iiy18wcmh";
|
||||
};
|
||||
|
||||
# Remove tests that require networking
|
||||
postPatch = ''
|
||||
rm cmd/get_tree_public_key/main_test.go
|
||||
'';
|
||||
|
||||
subPackages = [
|
||||
"cmd/trillian_log_server"
|
||||
"cmd/trillian_log_signer"
|
||||
"cmd/trillian_map_server"
|
||||
"cmd/createtree"
|
||||
"cmd/deletetree"
|
||||
"cmd/get_tree_public_key"
|
||||
"cmd/updatetree"
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/google/trillian";
|
||||
description = "A transparent, highly scalable and cryptographically verifiable data store.";
|
||||
license = [ lib.licenses.asl20 ];
|
||||
maintainers = [ lib.maintainers.adisbladis ];
|
||||
};
|
||||
}
|
|
@ -16660,6 +16660,8 @@ in
|
|||
|
||||
tremor = callPackage ../development/libraries/tremor { };
|
||||
|
||||
trillian = callPackage ../tools/misc/trillian { };
|
||||
|
||||
twolame = callPackage ../development/libraries/twolame { };
|
||||
|
||||
udns = callPackage ../development/libraries/udns { };
|
||||
|
|
Loading…
Reference in a new issue