nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 40 lines 788 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 buildGoModule, 5 nixosTests, 6}: 7 8buildGoModule rec { 9 pname = "quorum"; 10 version = "24.4.1"; 11 12 src = fetchFromGitHub { 13 owner = "Consensys"; 14 repo = "quorum"; 15 rev = "v${version}"; 16 hash = "sha256-pW8I4ivcKo6dsa8rQVKU6nUZuKxaki/7cMDKwEsSzNw="; 17 }; 18 19 vendorHash = "sha256-YK2zpQz4pAFyA+aHOn6Nx0htl5SJ2HNC+TDV1RdLQJk="; 20 21 subPackages = [ 22 "cmd/geth" 23 "cmd/bootnode" 24 ]; 25 26 ldflags = [ 27 "-s" 28 "-w" 29 ]; 30 31 passthru.tests = { inherit (nixosTests) quorum; }; 32 33 meta = with lib; { 34 description = "Permissioned implementation of Ethereum supporting data privacy"; 35 homepage = "https://consensys.net/quorum/"; 36 license = licenses.lgpl3; 37 maintainers = with maintainers; [ mmahut ]; 38 platforms = platforms.linux; 39 }; 40}