Skip to content

Commit 8e85031

Browse files
committed
feat: introduce nix-update-script
1 parent c335a3f commit 8e85031

File tree

40 files changed

+137
-23
lines changed

40 files changed

+137
-23
lines changed

pkgs/by-name/be/besu/default.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
jre,
55
lib,
66
makeWrapper,
7+
nix-update-script,
78
runCommand,
89
stdenv,
910
testers,
@@ -33,6 +34,8 @@ stdenv.mkDerivation (finalAttrs: rec {
3334
'';
3435

3536
passthru.tests = {
37+
updateScript = nix-update-script {};
38+
3639
version = testers.testVersion {
3740
package = finalAttrs.finalPackage;
3841
version = "v${version}";

pkgs/by-name/bl/bls/default.nix

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{
2+
clang,
23
cmake,
34
fetchFromGitHub,
45
gmp,
6+
lib,
7+
nix-update-script,
58
stdenv,
6-
clang,
79
system,
8-
lib,
910
}:
1011
stdenv.mkDerivation rec {
1112
pname = "bls";
@@ -30,6 +31,8 @@ stdenv.mkDerivation rec {
3031
# ETH2.0 spec
3132
CFLAGS = [''-DBLS_ETH''];
3233

34+
passthru.updateScript = nix-update-script {};
35+
3336
meta = {
3437
description = "BLS threshold signature";
3538
homepage = "https://github.com/herumi/bls";

pkgs/by-name/bl/blutgang/default.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
fetchFromGitHub,
3+
nix-update-script,
34
openssl,
45
pkg-config,
56
rustPlatform,
@@ -26,6 +27,8 @@ rustPlatform.buildRustPackage rec {
2627
useFetchCargoVendor = true;
2728
cargoHash = "sha256-kkfIcx8sDQkPWzcTii8NHRq8S8gi+rZYSxaJptEL1QM=";
2829

30+
passthru.updateScript = nix-update-script {};
31+
2932
meta = {
3033
description = "the wd40 of ethereum load balancers";
3134
homepage = "https://github.com/rainshowerLabs/blutgang";

pkgs/by-name/ch/charon/default.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
buildGoModule,
44
fetchFromGitHub,
55
mcl,
6+
nix-update-script,
67
}:
78
buildGoModule rec {
89
pname = "charon";
@@ -23,6 +24,8 @@ buildGoModule rec {
2324

2425
subPackages = ["."];
2526

27+
passthru.updateScript = nix-update-script {};
28+
2629
meta = {
2730
description = "Charon (pronounced 'kharon') is a Proof of Stake Ethereum Distributed Validator Client";
2831
homepage = "https://github.com/ObolNetwork/charon";

pkgs/by-name/di/dirk/default.nix

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
{
2+
bls,
23
buildGoModule,
34
fetchFromGitHub,
45
mcl,
5-
bls,
6+
nix-update-script,
67
}:
78
buildGoModule rec {
89
pname = "dirk";
@@ -22,6 +23,8 @@ buildGoModule rec {
2223

2324
doCheck = false;
2425

26+
passthru.updateScript = nix-update-script {};
27+
2528
meta = {
2629
description = "An Ethereum 2 distributed remote keymanager, focused on security and long-term performance of signing operations";
2730
homepage = "https://github.com/attestantio/dirk";

pkgs/by-name/dr/dreamboat/default.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
blst,
33
buildGoModule,
44
fetchFromGitHub,
5+
nix-update-script,
56
}:
67
buildGoModule rec {
78
pname = "dreamboat";
@@ -22,6 +23,8 @@ buildGoModule rec {
2223

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

26+
passthru.updateScript = nix-update-script {};
27+
2528
meta = {
2629
description = "An Ethereum 2.0 Relay for proposer-builder separation (PBS) with MEV-boost";
2730
homepage = "https://github.com/blocknative/dreamboat";

pkgs/by-name/ei/eigenlayer/default.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
lib,
33
buildGoModule,
44
fetchFromGitHub,
5+
nix-update-script,
56
}:
67
buildGoModule rec {
78
pname = "eigenlayer";
@@ -19,6 +20,8 @@ buildGoModule rec {
1920
ldflags = ["-s" "-w"];
2021
subPackages = ["cmd/eigenlayer"];
2122

23+
passthru.updateScript = nix-update-script {};
24+
2225
meta = with lib; {
2326
description = "Utility manages core operator functionalities like local key management, operator registration and updates";
2427
homepage = "https://www.eigenlayer.xyz/";

pkgs/by-name/er/erigon/default.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
buildGoModule,
33
fetchFromGitHub,
4+
nix-update-script,
45
subPackages ? ["cmd/erigon" "cmd/evm" "cmd/rpcdaemon" "cmd/rlpdump"],
56
}:
67
buildGoModule rec {
@@ -28,6 +29,8 @@ buildGoModule rec {
2829
ldflags = ["-extldflags \"-Wl,--allow-multiple-definition\""];
2930
inherit subPackages;
3031

32+
passthru.updateScript = nix-update-script {};
33+
3134
meta = {
3235
description = "Ethereum node implementation focused on scalability and modularity";
3336
homepage = "https://github.com/erigontech/erigon/";

pkgs/by-name/et/eth-validator-watcher/default.nix

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
2+
fetchFromGitHub,
23
lib,
4+
nix-update-script,
35
python3,
4-
fetchFromGitHub,
56
}:
67
python3.pkgs.buildPythonPackage rec {
78
pname = "eth-validator-watcher";
@@ -29,6 +30,8 @@ python3.pkgs.buildPythonPackage rec {
2930
more-itertools
3031
];
3132

33+
passthru.updateScript = nix-update-script {};
34+
3235
meta = with lib; {
3336
description = "Ethereum validator monitor";
3437
longDescription = '' Ethereum Validator Watcher monitors the Ethereum beacon

pkgs/by-name/et/eth2-testnet-genesis/default.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
bls,
33
buildGoModule,
44
fetchFromGitHub,
5+
nix-update-script,
56
}:
67
buildGoModule rec {
78
pname = "eth2-testnet-genesis";
@@ -22,6 +23,8 @@ buildGoModule rec {
2223

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

26+
passthru.updateScript = nix-update-script {};
27+
2528
meta = {
2629
description = "Create a genesis state for an Eth2 testnet";
2730
homepage = "https://github.com/protolambda/eth2-testnet-genesis";

0 commit comments

Comments
 (0)