Merge pull request #216043 from sikmir/jcli

This commit is contained in:
Sandro 2023-04-02 01:55:10 +02:00 committed by GitHub
commit b3c861b8e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 0 deletions

View 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 ];
};
}

View file

@ -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 { };