Unverified Commit a3dc5629 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

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

jfrog-cli: 2.37.1 -> 2.37.3
parents e9bcf849 ec9e4dd1
Loading
Loading
Loading
Loading
+12 −6
Original line number Diff line number Diff line
{ 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 ];
  };
}