Skip to content

Commit

Permalink
nethermind: 2.25.4 -> 2.30.3
Browse files Browse the repository at this point in the history
  • Loading branch information
bbjubjub2494 committed Jan 4, 2025
1 parent c714a44 commit 02e597c
Show file tree
Hide file tree
Showing 3 changed files with 2,223 additions and 2,330 deletions.
21 changes: 10 additions & 11 deletions pkgs/nethermind/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
}: let
self = buildDotnetModule rec {
pname = "nethermind";
version = "1.25.4";
version = "1.30.3";

src = fetchFromGitHub {
owner = "NethermindEth";
repo = pname;
rev = version;
hash = "sha256-J0kvmj6yG7tUv16nDfQ14mmKnGgJ/Gshkf8wCFRs1B0=";
hash = "sha256-J2G2ENgYfyUSNoi2tKIlbZzVXkxXqWP8Q+NihIzLiHo=";
fetchSubmodules = true;
};

Expand All @@ -34,25 +34,24 @@
snappy
];

patches = [
./001-Remove-Commit-Fallback.patch
projectFile = [
"src/Nethermind/Nethermind.Runner/Nethermind.Runner.csproj"
"src/Nethermind/Nethermind.Cli/Nethermind.Cli.csproj"
];

projectFile = "src/Nethermind/Nethermind.sln";
nugetDeps = ./nuget-deps.nix;
nugetDeps = ./nuget-deps.json;

executables = [
"nethermind-cli"
"nethermind"
];

dotnet-sdk = dotnetCorePackages.sdk_8_0;
dotnet-runtime = dotnetCorePackages.aspnetcore_8_0;
dotnet-sdk = dotnetCorePackages.sdk_9_0;
dotnet-runtime = dotnetCorePackages.aspnetcore_9_0;

passthru = {
# buildDotnetModule's `fetch-deps` uses `writeShellScript` instead of writeShellScriptBin making nix run .#nethermind.fetch-deps command to fail
# This alias solves that issue. On parent folder, we only need to run this command to produce a new nuget-deps.nix file with updated deps:
# $ nix run .#nethermind.fetch-nethermind-deps $PRJ_ROOT/pkgs/nethermind/nuget-deps.nix
# This alias solves that issue. On parent folder, we only need to run this command to produce a new nuget-deps.json file with updated deps:
# $ nix run .#nethermind.fetch-nethermind-deps $PRJ_ROOT/pkgs/nethermind/nuget-deps.json
fetch-nethermind-deps = writeShellScriptBin "fetch-nethermind-deps" ''${self.fetch-deps} $@'';
};

Expand Down
Loading

0 comments on commit 02e597c

Please sign in to comment.