about summary refs log tree commit diff
path: root/pkgs/applications/blockchains/lighthouse
diff options
context:
space:
mode:
authorhappysalada <raphael@megzari.com>2023-01-14 11:04:17 -0500
committerYt <happysalada@proton.me>2023-01-14 11:57:49 -0500
commit9dd07de47427d6421363d55d3fabd635d71e31f6 (patch)
treeb0f64cf97000e35fa0803dd09db9bed207089d64 /pkgs/applications/blockchains/lighthouse
parentac8c02ef204630cce8bcd99e7d8909ab79648fcb (diff)
lighthouse: 3.3.0 -> 3.4.0
Diffstat (limited to 'pkgs/applications/blockchains/lighthouse')
-rw-r--r--pkgs/applications/blockchains/lighthouse/default.nix18
1 files changed, 11 insertions, 7 deletions
diff --git a/pkgs/applications/blockchains/lighthouse/default.nix b/pkgs/applications/blockchains/lighthouse/default.nix
index 8b54cc093159f..7e3da7cbc92a9 100644
--- a/pkgs/applications/blockchains/lighthouse/default.nix
+++ b/pkgs/applications/blockchains/lighthouse/default.nix
@@ -14,11 +14,12 @@
 , stdenv
 , testers
 , unzip
+, nix-update-script
 }:
 
 rustPlatform.buildRustPackage rec {
   pname = "lighthouse";
-  version = "3.3.0";
+  version = "3.4.0";
 
   # lighthouse/common/deposit_contract/build.rs
   depositContractSpecVersion = "0.12.1";
@@ -28,10 +29,10 @@ rustPlatform.buildRustPackage rec {
     owner = "sigp";
     repo = "lighthouse";
     rev = "v${version}";
-    hash = "sha256-py64CWY3k5Z2mm9WduJ4Fh7lQ8b3sF6iIFsYYjndU5I=";
+    hash = "sha256-4auiM5+kj/HjZKu2YP7JEnwDNxHuL39XCfmV/dc5jLE=";
   };
 
-  cargoHash = "sha256-0gWTniLkhuPpgdUkE6gpF9uHYT6BeWWgH6Mu7KpFx9w=";
+  cargoHash = "sha256-ihfGwdxL7Ttw86dhaVBp5meb0caXjzgbbP27Io8zv/c=";
 
   buildFeatures = [ "modern" "gnosis" ];
 
@@ -89,10 +90,13 @@ rustPlatform.buildRustPackage rec {
     nodePackages.ganache
   ];
 
-  passthru.tests.version = testers.testVersion {
-    package = lighthouse;
-    command = "lighthouse --version";
-    version = "v${lighthouse.version}";
+  passthru = {
+    tests.version = testers.testVersion {
+      package = lighthouse;
+      command = "lighthouse --version";
+      version = "v${lighthouse.version}";
+    };
+    updateScript = nix-update-script { };
   };
 
   meta = with lib; {