ocm: 0.1.73 -> 1.0.2 (#361805)

ocm-cli: 0.1.73 -> 1.0.2

authored by Jean-Francois Chevrette and committed by GitHub 2766b622 3122317c

+10 -8
+10 -8
pkgs/by-name/oc/ocm/package.nix
··· 1 - { lib, buildGoModule, fetchFromGitHub, installShellFiles, stdenv, testers, ocm }: 1 + { lib, buildGoModule, fetchFromGitHub, installShellFiles, testers, ocm }: 2 2 3 3 buildGoModule rec { 4 4 pname = "ocm"; 5 - version = "0.1.73"; 5 + version = "1.0.2"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "openshift-online"; 9 9 repo = "ocm-cli"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-hcbCUzC+E7VHmqATw/1LQxdMLiFibgYiWrQHpm3jZLA="; 11 + sha256 = "sha256-cKXC7+Hn+74ukHG7iN4QwIv9vuPXm8FKyaKPD62S5ck="; 12 12 }; 13 13 14 - vendorHash = "sha256-NP5LLP27hn8p2gUVO/qpdu1Yp3t8iarUUKR/FjU0Qlc="; 14 + vendorHash = "sha256-uj4xmNZViag+j4YavFjDvc/ClMBb99DhwlcKzvGWQ7c="; 15 15 16 16 # Strip the final binary. 17 17 ldflags = [ "-s" "-w" ]; ··· 23 23 ln -s $GOPATH/bin/ocm ocm 24 24 ''; 25 25 26 - # Tests fail in Darwin sandbox. 27 - doCheck = !stdenv.hostPlatform.isDarwin; 26 + checkFlags = [ 27 + # Disable integration tests which require networking and gnupg which has issues in the sandbox 28 + "-skip=^TestCLI$" 29 + ]; 30 + 28 31 29 32 postInstall = '' 30 33 installShellCompletion --cmd ocm \ ··· 43 46 mainProgram = "ocm"; 44 47 license = licenses.asl20; 45 48 homepage = "https://github.com/openshift-online/ocm-cli"; 46 - maintainers = with maintainers; [ stehessel ]; 47 - platforms = platforms.all; 49 + maintainers = with maintainers; [ stehessel jfchevrette ]; 48 50 }; 49 51 }