Skip to content

Commit

Permalink
Merge pull request #204855 from tjni/lighthouse
Browse files Browse the repository at this point in the history
lighthouse: 3.2.1 -> 3.3.0
  • Loading branch information
figsoda authored Dec 8, 2022
2 parents 345bf16 + 7f396d9 commit 897e895
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
9 changes: 6 additions & 3 deletions pkgs/applications/blockchains/lighthouse/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@
, protobuf
, rustPlatform
, Security
, CoreFoundation
, stdenv
, testers
, unzip
}:

rustPlatform.buildRustPackage rec {
pname = "lighthouse";
version = "3.2.1";
version = "3.3.0";

# lighthouse/common/deposit_contract/build.rs
depositContractSpecVersion = "0.12.1";
Expand All @@ -27,17 +28,19 @@ rustPlatform.buildRustPackage rec {
owner = "sigp";
repo = "lighthouse";
rev = "v${version}";
sha256 = "sha256-Aqc3kk1rquhLKNZDlEun4bQpKI4Nsk7+Wr7E2IkJQEs=";
hash = "sha256-py64CWY3k5Z2mm9WduJ4Fh7lQ8b3sF6iIFsYYjndU5I=";
};

cargoSha256 = "sha256-wGEk7OfEmyeRW65kq5stvKCdnCjfssyXUmNWGkGq42M=";
cargoHash = "sha256-0gWTniLkhuPpgdUkE6gpF9uHYT6BeWWgH6Mu7KpFx9w=";

buildFeatures = [ "modern" "gnosis" ];

nativeBuildInputs = [ rustPlatform.bindgenHook cmake perl protobuf ];

buildInputs = lib.optionals stdenv.isDarwin [
Security
] ++ lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [
CoreFoundation
];

depositContractSpec = fetchurl {
Expand Down
4 changes: 2 additions & 2 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36783,8 +36783,8 @@ with pkgs;

lguf-brightness = callPackage ../misc/lguf-brightness { };

lighthouse = callPackage ../applications/blockchains/lighthouse {
inherit (darwin.apple_sdk.frameworks) Security;
lighthouse = darwin.apple_sdk_11_0.callPackage ../applications/blockchains/lighthouse {
inherit (darwin.apple_sdk_11_0.frameworks) CoreFoundation Security;
};

lilypond = callPackage ../misc/lilypond { guile = guile_1_8; };
Expand Down

0 comments on commit 897e895

Please sign in to comment.