mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 19:54:05 +00:00
755b915a15
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/'
28 lines
699 B
Nix
28 lines
699 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "kcl-cli";
|
|
version = "0.8.9";
|
|
src = fetchFromGitHub {
|
|
owner = "kcl-lang";
|
|
repo = "cli";
|
|
rev = "v${version}";
|
|
hash = "sha256-slU3n7YCV5VfvXArzlcITb9epdu/gyXlAWq9KLjGdJA=";
|
|
};
|
|
vendorHash = "sha256-Xv8Tfq9Kb1xGFCWZQwBFDX9xZW9j99td/DUb7jBtkpE=";
|
|
ldflags = [
|
|
"-X=kcl-lang.io/cli/pkg/version.version=${version}"
|
|
];
|
|
subPackages = [ "cmd/kcl" ];
|
|
meta = with lib; {
|
|
description = "Command line interface for KCL programming language";
|
|
homepage = "https://github.com/kcl-lang/cli";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ peefy ];
|
|
mainProgram = "kcl";
|
|
};
|
|
}
|