2022-07-14 12:49:19 +00:00
|
|
|
{ stdenv, lib, fetchFromGitHub, buildGoModule, fetchpatch }:
|
2022-04-03 18:54:34 +00:00
|
|
|
buildGoModule rec {
|
|
|
|
pname = "starlark";
|
2023-01-20 10:41:00 +00:00
|
|
|
version = "unstable-2023-01-12";
|
2022-04-03 18:54:34 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "google";
|
|
|
|
repo = "starlark-go";
|
2023-01-20 10:41:00 +00:00
|
|
|
rev = "fae38c8a6d89dc410be86b76dfff475b29dba878";
|
|
|
|
hash = "sha256-7J2bYA84asWvwSOYEr+K9ZuR2ytR9XhGaSEJKxHimYI=";
|
2022-04-03 18:54:34 +00:00
|
|
|
};
|
|
|
|
|
2023-01-20 10:41:00 +00:00
|
|
|
vendorHash = "sha256-AvZh7IqRRAAOG10rLodHLNSuTIQHXPTJkRXsAhZGNe0=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|