2023-05-08 11:22:16 +03:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule }:
|
2022-02-19 09:57:25 +03:00
|
|
|
buildGoModule rec {
|
|
|
|
pname = "starlark";
|
2024-01-21 04:43:00 +03:00
|
|
|
version = "0-unstable-2023-11-21";
|
2022-02-19 09:57:25 +03:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "google";
|
|
|
|
repo = "starlark-go";
|
2024-01-21 04:43:00 +03:00
|
|
|
rev = "90ade8b19d09805d1b91a9687198869add6dfaa1";
|
|
|
|
hash = "sha256-ZNOPx7L21A4BR5WshMMAHGm6j1ukWC9waJ1lYLvxBw0=";
|
2022-02-19 09:57:25 +03:00
|
|
|
};
|
|
|
|
|
2023-11-08 08:22:02 +03:00
|
|
|
vendorHash = "sha256-jQE5fSqJeiDV7PW7BY/dzCxG6b/KEVIobcjJsaL2zMw=";
|
2022-07-08 01:53:39 +03:00
|
|
|
|
2022-02-19 09:57:25 +03:00
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/google/starlark-go";
|
2024-06-07 10:46:46 +03:00
|
|
|
description = "Interpreter for Starlark, implemented in Go";
|
2022-02-19 09:57:25 +03:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ aaronjheng ];
|
2024-01-21 04:43:00 +03:00
|
|
|
mainProgram = "starlark";
|
2022-02-19 09:57:25 +03:00
|
|
|
};
|
|
|
|
}
|