eventstore: 23.6.0 -> 24.10.6 (#436377)

This commit is contained in:
David McFarland
2025-08-27 10:29:07 -03:00
committed by GitHub
3 changed files with 660 additions and 770 deletions
+653 -743
View File
File diff suppressed because it is too large Load Diff
+7 -6
View File
@@ -8,6 +8,7 @@
bintools,
stdenv,
mono,
nix-update-script,
}:
let
mainProgram = "EventStore.ClusterNode";
@@ -15,21 +16,21 @@ in
buildDotnetModule rec {
pname = "EventStore";
version = "23.6.0";
version = "24.10.6";
src = fetchFromGitHub {
owner = "EventStore";
repo = "EventStore";
rev = "oss-v${version}";
hash = "sha256-+Wxm6yusaCoqXIbsi0ZoALAviKUyNMQwbzsQtBK/PCo=";
tag = "v${version}";
hash = "sha256-8/sagvMyJ1/onGMuJ28QLWI5M8dBDWyGOcZKUv3PJsQ=";
leaveDotGit = true;
};
# Fixes application reporting 0.0.0.0 as its version.
MINVERVERSIONOVERRIDE = version;
dotnet-sdk = dotnetCorePackages.sdk_6_0-bin;
dotnet-runtime = dotnetCorePackages.aspnetcore_6_0-bin;
dotnet-sdk = dotnetCorePackages.sdk_8_0;
dotnet-runtime = dotnetCorePackages.aspnetcore_8_0;
nativeBuildInputs = [
git
@@ -69,7 +70,7 @@ buildDotnetModule rec {
kill "$PID";
'';
passthru.updateScript = ./updater.sh;
passthru.updateScript = nix-update-script { };
meta = with lib; {
homepage = "https://geteventstore.com/";
-21
View File
@@ -1,21 +0,0 @@
#! /usr/bin/env nix-shell
#! nix-shell -I nixpkgs=./. -i bash -p curl jq common-updater-scripts
# shellcheck shell=bash
set -euo pipefail
cd "$(dirname "${BASH_SOURCE[0]}")"
new_version="$(curl -s "https://api.github.com/repos/EventStore/EventStore/releases/latest" | jq -r '.name')"
new_version="${new_version#oss-v}"
old_version="$(sed -nE 's/\s*version = "(.*)".*/\1/p' ./default.nix)"
if [[ "$new_version" == "$old_version" ]]; then
echo "Already up to date!"
exit 0
fi
cd ../../../..
update-source-version eventstore "${new_version//v}"
$(nix-build -A eventstore.fetch-deps --no-out-link)