2023-05-08 08:22:16 +00:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule }:
|
2022-02-19 06:57:25 +00:00
|
|
|
buildGoModule rec {
|
|
|
|
pname = "starlark";
|
2024-06-17 09:11:55 +00:00
|
|
|
version = "0-unstable-2024-05-21";
|
2022-02-19 06:57:25 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "google";
|
|
|
|
repo = "starlark-go";
|
2024-06-17 09:11:55 +00:00
|
|
|
rev = "046347dcd1044f5e568fcf64884b0344f27910c0";
|
|
|
|
hash = "sha256-qpJPCcMxrsspiN5FeQDZRaNchYPawMNJHtKK8fmrRug=";
|
2022-02-19 06:57:25 +00:00
|
|
|
};
|
|
|
|
|
2024-06-17 09:11:55 +00:00
|
|
|
vendorHash = "sha256-8drlCBy+KROyqXzm/c+HBe/bMVOyvwRoLHxOApJhMfo=";
|
2022-07-07 22:53:39 +00:00
|
|
|
|
2022-02-19 06:57:25 +00:00
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/google/starlark-go";
|
|
|
|
description = "Interpreter for Starlark, implemented in Go";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ aaronjheng ];
|
2024-01-21 01:43:00 +00:00
|
|
|
mainProgram = "starlark";
|
2022-02-19 06:57:25 +00:00
|
|
|
};
|
|
|
|
}
|