diff options
author | Marek Mahut <marek.mahut@gmail.com> | 2020-03-20 16:22:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-20 16:22:50 +0100 |
commit | feff5202d208f1ab04331c543583acb688719904 (patch) | |
tree | f49575762ccc2a96faf2c66a5c89564ba4f7e368 /pkgs/applications/blockchains | |
parent | 78104ad2daf340d7471bd8c34f62d754e941e27f (diff) | |
parent | 0d6e2349f64c9a8627a2be2faa44436bcf6ae034 (diff) |
Merge pull request #82406 from mmahut/quorum
quorum: init at 2.5.0
Diffstat (limited to 'pkgs/applications/blockchains')
-rw-r--r-- | pkgs/applications/blockchains/quorum.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/applications/blockchains/quorum.nix b/pkgs/applications/blockchains/quorum.nix new file mode 100644 index 0000000000000..49bc0be108ff6 --- /dev/null +++ b/pkgs/applications/blockchains/quorum.nix @@ -0,0 +1,35 @@ +{ stdenv, fetchFromGitHub, buildGoPackage, git, which }: + +buildGoPackage rec { + pname = "quorum"; + version = "2.5.0"; + + goPackagePath = "github.com/jpmorganchase/quorum"; + + src = fetchFromGitHub { + owner = "jpmorganchase"; + repo = pname; + rev = "v${version}"; + sha256 = "0xfdaqp9bj5dkw12gy19lxj73zh7w80j051xclsvnd41sfah86ll"; + }; + + buildInputs = [ git which ]; + + buildPhase = '' + cd "go/src/$goPackagePath" + make geth bootnode swarm + ''; + + installPhase = '' + mkdir -pv $bin/bin + cp -v build/bin/geth build/bin/bootnode build/bin/swarm $bin/bin + ''; + + meta = with stdenv.lib; { + description = "A permissioned implementation of Ethereum supporting data privacy"; + homepage = "https://www.goquorum.com/"; + license = licenses.lgpl3; + maintainers = with maintainers; [ mmahut ]; + platforms = subtractLists ["aarch64-linux"] platforms.linux; + }; +} |