depot/pkgs/by-name/st/starlark/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

24 lines
680 B
Nix

{ lib, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "starlark";
version = "0-unstable-2024-05-21";
src = fetchFromGitHub {
owner = "google";
repo = "starlark-go";
rev = "046347dcd1044f5e568fcf64884b0344f27910c0";
hash = "sha256-qpJPCcMxrsspiN5FeQDZRaNchYPawMNJHtKK8fmrRug=";
};
vendorHash = "sha256-8drlCBy+KROyqXzm/c+HBe/bMVOyvwRoLHxOApJhMfo=";
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 ];
mainProgram = "starlark";
};
}