starlark: 0-unstable-2024-05-21 -> 0-unstable-2024-11-19

This commit is contained in:
Aaron Jheng 2024-11-23 11:12:49 +08:00
parent b350a5de72
commit c92e61cbc7
No known key found for this signature in database
GPG Key ID: F6A547A869D050A3

View File

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