dart-bin: 3.11.0 -> 3.11.4 (#503716)

This commit is contained in:
Tristan Ross
2026-04-02 20:27:07 +00:00
committed by GitHub
2 changed files with 10 additions and 10 deletions
+5 -5
View File
@@ -11,7 +11,7 @@
stdenv.mkDerivation (finalAttrs: {
pname = "dart";
version = "3.11.0";
version = "3.11.4";
src =
let
@@ -25,10 +25,10 @@ stdenv.mkDerivation (finalAttrs: {
aarch64-darwin = "macos-arm64";
};
hash = selectSystem {
x86_64-linux = "sha256-8xcptWe+MYx8wjva/muamX+n3b+CnfUBbwZiJ7aqDJk=";
aarch64-linux = "sha256-dr/vXICcCCF332xRu/SADY1NdV8ulvt1Fiv40rAy74M=";
x86_64-darwin = "sha256-Wlwpx6g4EmkzKAEyaxHMrc8M/nMB7QGj8G6BdmvLjXQ=";
aarch64-darwin = "sha256-IjJFpC6rG4EeUC4VYluGcHX/4BLenrU3Skzd4u4IdTQ=";
x86_64-linux = "sha256-UtYvBbAHzLcRfPQcGb7aHIfBRLJ+pgCxa0ycjqj8j9Q=";
aarch64-linux = "sha256-w1um8N4fXrvyNQZhK//DR8e6lMOkx1EQyrEVeJIWbTw=";
x86_64-darwin = "sha256-GHTjTHJmbIPfsAbF4AmxjDETSw9YD04/6lGecoe1xrA=";
aarch64-darwin = "sha256-DwyZtAeZLuaX2MFVPzhERiFeX45wI9sTc4Y2SVopRE8=";
};
in
fetchurl {
+5 -5
View File
@@ -4,7 +4,7 @@
set -euo pipefail
latestVersion=$(curl -sL https://storage.googleapis.com/dart-archive/channels/stable/release/latest/VERSION | jq --raw-output .version)
currentVersion=$(nix eval --raw -f . dart.version)
currentVersion=$(nix eval --raw -f . dart-bin.version)
if [[ "$latestVersion" == "$currentVersion" ]]; then
exit 0
@@ -12,10 +12,10 @@ fi
MY_PATH=$(dirname $(realpath "$0"))
update-source-version dart $latestVersion --file=$MY_PATH/default.nix
update-source-version dart-bin $latestVersion --file=$MY_PATH/default.nix
systems=$(nix eval --json -f . dart.meta.platforms | jq --raw-output '.[]')
systems=$(nix eval --json -f . dart-bin.meta.platforms | jq --raw-output '.[]')
for system in $systems; do
hash=$(nix hash convert --to sri --hash-algo sha256 $(nix-prefetch-url $(nix eval --raw -f . dart.src.url --system "$system")))
update-source-version dart $latestVersion $hash --file=$MY_PATH/default.nix --system=$system --ignore-same-version --ignore-same-hash
hash=$(nix hash convert --to sri --hash-algo sha256 $(nix-prefetch-url $(nix eval --raw -f . dart-bin.src.url --system "$system")))
update-source-version dart-bin $latestVersion $hash --file=$MY_PATH/default.nix --system=$system --ignore-same-version --ignore-same-hash
done