2 days of work
This commit is contained in:
parent
ad427500ad
commit
f8e261ad07
18 changed files with 391 additions and 32 deletions
30
packages/openshift-install-4.5.nix
Normal file
30
packages/openshift-install-4.5.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
with import <nixpkgs> {};
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "openshift-install-4.5";
|
||||
version = "4.5.0-0";
|
||||
release = "2020-10-03-012432";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/openshift/okd/releases/download/${version}.okd-${release}/openshift-install-linux-${version}.okd-${release}.tar.gz";
|
||||
sha256 = "f497193e8918840a4fd3267839affdc91ec166c5fd2ae3fdc64f498b5fc56f55";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoPatchelfHook
|
||||
];
|
||||
|
||||
unpackPhase = ''
|
||||
tar xvpzf $src
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
install -m 755 -D openshift-install $out/bin/openshift-install
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://www.odk.io";
|
||||
description = "openshift 4.5 installer";
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ foosinn ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue