-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #302488 from Peefy/patch-5
kcl-cli: init at 0.8.5
- Loading branch information
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15348,6 +15348,12 @@ | |
githubId = 1368952; | ||
name = "Pedro Lara Campos"; | ||
}; | ||
peefy = { | ||
email = "[email protected]"; | ||
github = "Peefy"; | ||
githubId = 22744597; | ||
name = "Peefy"; | ||
}; | ||
peelz = { | ||
email = "[email protected]"; | ||
github = "notpeelz"; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ lib | ||
, buildGoModule | ||
, fetchFromGitHub | ||
}: | ||
|
||
buildGoModule rec { | ||
pname = "kcl-cli"; | ||
version = "0.8.5"; | ||
src = fetchFromGitHub { | ||
owner = "kcl-lang"; | ||
repo = "cli"; | ||
rev = "v${version}"; | ||
hash = "sha256-ZjEMgQukhBGY3LWqsGmLj3lKfLtNNaQugQs0cSLMb80="; | ||
}; | ||
vendorHash = "sha256-jmqKMB85HxAlwH7FVjHrLCZQYuAJrguRfzIz1yMypjw="; | ||
ldflags = [ | ||
"-X=kcl-lang.io/cli/pkg/version.version=${version}" | ||
]; | ||
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"; | ||
}; | ||
} |