mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-22 20:14:37 +00:00

nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
25 lines
680 B
Nix
25 lines
680 B
Nix
{ lib, fetchFromGitHub, buildGoModule }:
|
|
buildGoModule rec {
|
|
pname = "starlark";
|
|
version = "0-unstable-2023-11-21";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "google";
|
|
repo = "starlark-go";
|
|
rev = "90ade8b19d09805d1b91a9687198869add6dfaa1";
|
|
hash = "sha256-ZNOPx7L21A4BR5WshMMAHGm6j1ukWC9waJ1lYLvxBw0=";
|
|
};
|
|
|
|
vendorHash = "sha256-jQE5fSqJeiDV7PW7BY/dzCxG6b/KEVIobcjJsaL2zMw=";
|
|
|
|
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";
|
|
};
|
|
}
|