ocm: init at 0.1.62 (#165483)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
4bedc8d1c6
commit
6250441d8a
2 changed files with 34 additions and 0 deletions
32
pkgs/applications/networking/cluster/ocm/default.nix
Normal file
32
pkgs/applications/networking/cluster/ocm/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
{ lib, buildGoModule, fetchFromGitHub, testVersion, ocm }:
|
||||||
|
|
||||||
|
buildGoModule rec {
|
||||||
|
pname = "ocm";
|
||||||
|
version = "0.1.62";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "openshift-online";
|
||||||
|
repo = "ocm-cli";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0kv0zcx6wdlyid37ygzg05xyyk77ybd2qcdgbswjv6crcjh1xdrd";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorSha256 = "sha256-nXUrbF9mcHy8G7c+ktQixBmmf6x066gpuaZ0eUsJQwc=";
|
||||||
|
|
||||||
|
# Tests expect the binary to be located in the root directory.
|
||||||
|
preCheck = ''
|
||||||
|
ln -s $GOPATH/bin/ocm ocm
|
||||||
|
'';
|
||||||
|
|
||||||
|
passthru.tests.version = testVersion {
|
||||||
|
package = ocm;
|
||||||
|
command = "ocm version";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "CLI for the Red Hat OpenShift Cluster Manager";
|
||||||
|
license = licenses.asl20;
|
||||||
|
homepage = "https://github.com/openshift-online/ocm-cli";
|
||||||
|
maintainers = with maintainers; [ stehessel ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -27939,6 +27939,8 @@ with pkgs;
|
||||||
|
|
||||||
ocenaudio = callPackage ../applications/audio/ocenaudio { };
|
ocenaudio = callPackage ../applications/audio/ocenaudio { };
|
||||||
|
|
||||||
|
ocm = callPackage ../applications/networking/cluster/ocm { };
|
||||||
|
|
||||||
odo = callPackage ../applications/networking/cluster/odo { };
|
odo = callPackage ../applications/networking/cluster/odo { };
|
||||||
|
|
||||||
onlyoffice-bin = callPackage ../applications/office/onlyoffice-bin { };
|
onlyoffice-bin = callPackage ../applications/office/onlyoffice-bin { };
|
||||||
|
|
Loading…
Reference in a new issue