Merge pull request #233174 from r-ryantm/auto-update/jfrog-cli

jfrog-cli: 2.37.1 -> 2.37.3
This commit is contained in:
Fabian Affolter 2023-05-21 11:03:51 +02:00 committed by GitHub
commit a3dc562926
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,17 +1,22 @@
{ buildGoModule, fetchFromGitHub, pkgs, lib }:
{ lib
, buildGoModule
, fetchFromGitHub
, pkgs
}:
buildGoModule rec {
pname = "jfrog-cli";
version = "2.37.1";
vendorHash = "sha256-e+lD3VeGccOlL+zYBE0DLMyDrrQmG956HTfS5Wf7eps=";
version = "2.37.3";
src = fetchFromGitHub {
owner = "jfrog";
repo = "jfrog-cli";
rev = "v${version}";
sha256 = "sha256-3RJzWBoKjzRrEVhOdu+oamIfHEPgJupVzU8KqMlSDbA=";
rev = "refs/tags/v${version}";
hash = "sha256-ic6Q/1BJIYe/LajW389vL7Gaodz/EFLEGkZl6QSIvbo=";
};
vendorHash = "sha256-W/Us8OTbaJismGkKashZoM1wkHXpHv/TxrwT86HaiU8=";
postInstall = ''
# Name the output the same way as the original build script does
mv $out/bin/jfrog-cli $out/bin/jf
@ -23,8 +28,9 @@ buildGoModule rec {
meta = with lib; {
homepage = "https://github.com/jfrog/jfrog-cli";
description = "Client for accessing to JFrog's Artifactory and Mission Control through their respective REST APIs";
changelog = "https://github.com/jfrog/jfrog-cli/releases/tag/v${version}";
license = licenses.asl20;
mainProgram = "jf";
maintainers = [ maintainers.detegr ];
maintainers = with maintainers; [ detegr ];
};
}