about summary refs log tree commit diff
path: root/pkgs/applications/blockchains/quorum/default.nix
blob: 6b8fc21b4f867ae37eb9f5bcc2736dc39b1deb22 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ lib, fetchFromGitHub, buildGoModule }:

buildGoModule rec {
  pname = "quorum";
  version = "24.4.0";

  src = fetchFromGitHub {
    owner = "Consensys";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-vQyKguoSUU6Drkg8XqWtK8Ow/B9dqDKkKq6yeDQk1c0=";
  };

  vendorHash = "sha256-YK2zpQz4pAFyA+aHOn6Nx0htl5SJ2HNC+TDV1RdLQJk=";

  subPackages = [
    "cmd/geth"
    "cmd/bootnode"
  ];

  ldflags = [ "-s" "-w" ];

  meta = with lib; {
    description = "Permissioned implementation of Ethereum supporting data privacy";
    homepage = "https://consensys.net/quorum/";
    license = licenses.lgpl3;
    maintainers = with maintainers; [ mmahut ];
    platforms = platforms.linux;
  };
}