commit 992f7c890c0f8673dd745018bfd7df4fee4d99e0
parent 7024037d88532af0b1f5b5a8368fc69cd2b540c4
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date: Sat, 4 Feb 2023 23:56:03 +0300
jenkins-cli: fix artifact download url construction
Diffstat:
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/pkgs/misc/jenkins-cli/default.nix b/pkgs/misc/jenkins-cli/default.nix
@@ -1,4 +1,4 @@
-{ lib, buildGoModule, fetchFromGitHub }:
+{ lib, buildGoModule, fetchFromGitHub, fetchpatch }:
buildGoModule rec {
pname = "jenkins-cli";
@@ -11,6 +11,14 @@ buildGoModule rec {
hash = "sha256-ovrli7C4OyWAQSAOm1aoO/s/lHP1uI8XhnywkCxylIk=";
};
+ patches = [
+ # Fix artifact download url construction
+ (fetchpatch {
+ url = "https://github.com/jenkins-zh/jenkins-cli/commit/cb4c34cc5e7853444939af3643cf64d69095dc41.patch";
+ hash = "sha256-6hWtHXwg6CmRJBX12IVsQhJPK/Xlv8zrLDltZHN2i6U=";
+ })
+ ];
+
vendorHash = "sha256-bmPnxFvdKU5zuMsCDboSOxP5f7NnMRwS/gN0sW7eTRA=";
doCheck = false;