diff --git a/pkgs/by-name/st/starlark/package.nix b/pkgs/by-name/st/starlark/package.nix index df511ee0c419..302a0950232b 100644 --- a/pkgs/by-name/st/starlark/package.nix +++ b/pkgs/by-name/st/starlark/package.nix @@ -2,16 +2,17 @@ lib, fetchFromGitHub, buildGoModule, + nix-update-script, }: -buildGoModule rec { +buildGoModule { pname = "starlark"; - version = "0-unstable-2024-05-21"; + version = "0-unstable-2024-11-19"; src = fetchFromGitHub { owner = "google"; repo = "starlark-go"; - rev = "046347dcd1044f5e568fcf64884b0344f27910c0"; - hash = "sha256-qpJPCcMxrsspiN5FeQDZRaNchYPawMNJHtKK8fmrRug="; + rev = "d4d7611b175970714abca4efdc91692ee958a80f"; + hash = "sha256-1/nDuO7i9NVKUt5OSemQfE0TO78gvKBfHFoYC1u0VOQ="; }; vendorHash = "sha256-8drlCBy+KROyqXzm/c+HBe/bMVOyvwRoLHxOApJhMfo="; @@ -21,11 +22,15 @@ buildGoModule rec { "-w" ]; - meta = with lib; { + passthru.updateScript = nix-update-script { + extraArgs = [ "--version=branch" ]; + }; + + meta = { homepage = "https://github.com/google/starlark-go"; description = "Interpreter for Starlark, implemented in Go"; - license = licenses.bsd3; - maintainers = with maintainers; [ aaronjheng ]; + license = lib.licenses.bsd3; + maintainers = with lib.maintainers; [ aaronjheng ]; mainProgram = "starlark"; }; }