Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kcl-cli: init at 0.8.5 #302488

Merged
merged 2 commits into from
Apr 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15324,6 +15324,12 @@
githubId = 1368952;
name = "Pedro Lara Campos";
};
peefy = {
Peefy marked this conversation as resolved.
Show resolved Hide resolved
email = "[email protected]";
github = "Peefy";
githubId = 22744597;
name = "Peefy";
};
peelz = {
email = "[email protected]";
github = "notpeelz";
Expand Down
27 changes: 27 additions & 0 deletions pkgs/by-name/kc/kcl-cli/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{ lib
, buildGoModule
, fetchFromGitHub
}:

buildGoModule rec {
Peefy marked this conversation as resolved.
Show resolved Hide resolved
pname = "kcl-cli";
version = "0.8.5";
src = fetchFromGitHub {
owner = "kcl-lang";
repo = "cli";
rev = "v${version}";
Peefy marked this conversation as resolved.
Show resolved Hide resolved
hash = "sha256-ZjEMgQukhBGY3LWqsGmLj3lKfLtNNaQugQs0cSLMb80=";
};
vendorHash = "sha256-jmqKMB85HxAlwH7FVjHrLCZQYuAJrguRfzIz1yMypjw=";
ldflags = [
"-X=kcl-lang.io/cli/pkg/version.version=${version}"
Peefy marked this conversation as resolved.
Show resolved Hide resolved
];
subPackages = [ "cmd/kcl" ];
meta = with lib; {
description = "A command line interface for KCL programming language";
homepage = "https://github.com/kcl-lang/cli";
license = licenses.asl20;
maintainers = with maintainers; [ peefy ];
mainProgram = "kcl";
};
}
Peefy marked this conversation as resolved.
Show resolved Hide resolved