commit 13e9372e9536f0fb82bf74553c44b0197fd78062 parent ea297266c864745371367661c36014d5dfc33b73 Author: Nikolay Korotkiy <sikmir@disroot.org> Date: Fri, 21 Oct 2022 19:23:00 +0300 Add jenkins-cli Diffstat:
M | pkgs/default.nix | | | 1 | + |
A | pkgs/misc/jenkins-cli/default.nix | | | 25 | +++++++++++++++++++++++++ |
2 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -315,6 +315,7 @@ lib.makeScope newScope ( huami-token = callPackage ./misc/huami-token { }; imsg-compat = callPackage ./misc/imsg-compat { }; ish = callPackage ./misc/ish { }; + jenkins-cli = callPackage ./misc/jenkins-cli { }; lazyscraper = callPackage ./misc/lazyscraper { }; libnbcompat = callPackage ./misc/libnbcompat { }; md2html = callPackage ./misc/md2html { }; diff --git a/pkgs/misc/jenkins-cli/default.nix b/pkgs/misc/jenkins-cli/default.nix @@ -0,0 +1,25 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "jenkins-cli"; + version = "0.0.40"; + + src = fetchFromGitHub { + owner = "jenkins-zh"; + repo = "jenkins-cli"; + rev = "v${version}"; + hash = "sha256-ovrli7C4OyWAQSAOm1aoO/s/lHP1uI8XhnywkCxylIk="; + }; + + vendorHash = "sha256-bmPnxFvdKU5zuMsCDboSOxP5f7NnMRwS/gN0sW7eTRA="; + + doCheck = false; + + meta = with lib; { + description = "Jenkins CLI allows you to manage your Jenkins in an easy way"; + inherit (src.meta) homepage; + license = licenses.mit; + maintainers = [ maintainers.sikmir ]; + platforms = platforms.unix; + }; +}