Merge pull request #216043 from sikmir/jcli
This commit is contained in:
commit
b3c861b8e4
2 changed files with 30 additions and 0 deletions
28
pkgs/development/tools/misc/jcli/default.nix
Normal file
28
pkgs/development/tools/misc/jcli/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub, fetchpatch }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "jcli";
|
||||
version = "0.0.41";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jenkins-zh";
|
||||
repo = "jenkins-cli";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-oZtbjfquCYMMYgKe7sclRQDXnkNwAEY/GvwenGBnVk4=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-bmPnxFvdKU5zuMsCDboSOxP5f7NnMRwS/gN0sW7eTRA=";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
postInstall = ''
|
||||
mv $out/bin/{jenkins-cli,jcli}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Jenkins CLI allows you to manage your Jenkins in an easy way";
|
||||
homepage = "https://jcli.jenkins-zh.cn/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ sikmir ];
|
||||
};
|
||||
}
|
|
@ -8728,6 +8728,8 @@ with pkgs;
|
|||
|
||||
jc = with python3Packages; toPythonApplication jc;
|
||||
|
||||
jcli = callPackage ../development/tools/misc/jcli { };
|
||||
|
||||
jd-cli = callPackage ../tools/security/jd-cli { };
|
||||
|
||||
jd-diff-patch = callPackage ../development/tools/jd-diff-patch { };
|
||||
|
|
Loading…
Reference in a new issue