jfrog-cli: 2.103.0 -> 2.104.1
This commit is contained in:
@@ -4,21 +4,22 @@
|
||||
fetchFromGitHub,
|
||||
nodejs,
|
||||
nix-update-script,
|
||||
writableTmpDirAsHomeHook,
|
||||
}:
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "jfrog-cli";
|
||||
version = "2.103.0";
|
||||
version = "2.104.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jfrog";
|
||||
repo = "jfrog-cli";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-7IJ76xpaM3V964dYOu4mZCxbx66e5976QYNddNoyiJk=";
|
||||
hash = "sha256-cMX+o0lgniDpXgILEjGzJOG/rTyXoNM/RVUniTvnuko=";
|
||||
};
|
||||
|
||||
proxyVendor = true;
|
||||
vendorHash = "sha256-vtLsjbj1cb6AmV8EM+9cghlcL9nVDMeC8Au3sMuT91c=";
|
||||
vendorHash = "sha256-oYDCSpjQsv5o0UmyffhysVLiuFgzOi6Vgy7t20zad2s=";
|
||||
|
||||
checkFlags = "-skip=^(TestReleaseBundle|TestVisibilitySendUsage_RtCurl_E2E)";
|
||||
|
||||
@@ -27,13 +28,15 @@ buildGoModule (finalAttrs: {
|
||||
mv $out/bin/jfrog-cli $out/bin/jf
|
||||
'';
|
||||
|
||||
# Some of the tests require a writable $HOME
|
||||
preCheck = "export HOME=$TMPDIR";
|
||||
|
||||
nativeCheckInputs = [ nodejs ];
|
||||
nativeCheckInputs = [
|
||||
nodejs
|
||||
writableTmpDirAsHomeHook
|
||||
];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/jfrog/jfrog-cli";
|
||||
description = "Client for accessing to JFrog's Artifactory and Mission Control through their respective REST APIs";
|
||||
|
||||
Reference in New Issue
Block a user