diff options
author | Marek Mahut <marek.mahut@gmail.com> | 2020-03-12 14:35:18 +0100 |
---|---|---|
committer | Marek Mahut <marek.mahut@gmail.com> | 2020-03-12 14:35:18 +0100 |
commit | 0d08c34be20fa662f773f2baf9bee08204b56538 (patch) | |
tree | b29e429f2666c3612053dad6ab637e15ee9d5907 /pkgs/applications/blockchains/quorum.nix | |
parent | ed588cb31c97a09c7e27fb0e3404ea6a2c5f913a (diff) | |
download | nixpkgs-0d08c34be20fa662f773f2baf9bee08204b56538.tar nixpkgs-0d08c34be20fa662f773f2baf9bee08204b56538.tar.gz nixpkgs-0d08c34be20fa662f773f2baf9bee08204b56538.tar.bz2 nixpkgs-0d08c34be20fa662f773f2baf9bee08204b56538.tar.lz nixpkgs-0d08c34be20fa662f773f2baf9bee08204b56538.tar.xz nixpkgs-0d08c34be20fa662f773f2baf9bee08204b56538.tar.zst nixpkgs-0d08c34be20fa662f773f2baf9bee08204b56538.zip |
quorum: init at 2.5.0
Diffstat (limited to 'pkgs/applications/blockchains/quorum.nix')
-rw-r--r-- | pkgs/applications/blockchains/quorum.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/applications/blockchains/quorum.nix b/pkgs/applications/blockchains/quorum.nix new file mode 100644 index 00000000000..86bd3b11a17 --- /dev/null +++ b/pkgs/applications/blockchains/quorum.nix @@ -0,0 +1,34 @@ +{ lib, 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 = { + description = "A permissioned implementation of Ethereum supporting data privacy"; + homepage = "https://www.goquorum.com/"; + license = lib.licenses.lgpl3; + maintainers = with lib.maintainers; [ mmahut ]; + }; +} |