2023-05-24 13:37:59 +00:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule }:
|
2022-04-03 18:54:34 +00:00
|
|
|
buildGoModule rec {
|
|
|
|
pname = "starlark";
|
2023-05-24 13:37:59 +00:00
|
|
|
version = "unstable-2023-03-02";
|
2022-04-03 18:54:34 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "google";
|
|
|
|
repo = "starlark-go";
|
2023-05-24 13:37:59 +00:00
|
|
|
rev = "4b1e35fe22541876eb7aa2d666416d865d905028";
|
|
|
|
hash = "sha256-TqR8V9cypTXaXlKrAUpP2qE5gJ9ZanaRRs/LmVt/XEo=";
|
2022-04-03 18:54:34 +00:00
|
|
|
};
|
|
|
|
|
2023-05-24 13:37:59 +00:00
|
|
|
vendorHash = "sha256-mMxRw2VucXwKGQ7f7HM0GiQUExxN38qYZDdmEyxtXDA=";
|
2022-07-14 12:49:19 +00:00
|
|
|
|
2022-04-03 18:54:34 +00:00
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/google/starlark-go";
|
|
|
|
description = "An interpreter for Starlark, implemented in Go";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ aaronjheng ];
|
|
|
|
};
|
|
|
|
}
|