fix openshift packages
This commit is contained in:
parent
d453e0fafd
commit
bf5e357930
3 changed files with 29 additions and 4 deletions
|
@ -4,8 +4,8 @@ stdenv.mkDerivation {
|
|||
name = "oc311";
|
||||
version = "3.11";
|
||||
src = fetchurl {
|
||||
url = "https://artifacts-openshift-release-3-11.svc.ci.openshift.org/zips/openshift-origin-client-tools-v3.11.0-8aa4c38-492-linux-64bit.tar.gz";
|
||||
sha256 = "e8fde584995657e359ddaa5b25e70af2bde4cd494322c712a8cd46bfef00f07f";
|
||||
url = "https://github.com/openshift/origin/releases/download/v3.11.0/openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit.tar.gz";
|
||||
sha256 = "4b0f07428ba854174c58d2e38287e5402964c9a9355f6c359d1242efd0990da3";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
@ -4,8 +4,8 @@ stdenv.mkDerivation rec {
|
|||
name = "oc46";
|
||||
version = "4.6";
|
||||
src = fetchurl {
|
||||
url = "https://mirror.openshift.com/pub/openshift-v4/clients/oc/${version}/linux/oc.tar.gz";
|
||||
sha256 = "60de3dbb6cf085a201c5b9490a6d5066248bfd5d3c42486a8fd43abdbdb731e6";
|
||||
url = "https://github.com/openshift/okd/releases/download/4.6.0-0.okd-2021-02-14-205305/openshift-client-linux-4.6.0-0.okd-2021-02-14-205305.tar.gz";
|
||||
sha256 = "741c456f1d5227eb40722b0dac328c78dceba5103fd306cf7fe57a9474eb3d35";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
25
packages/vaultsink.nix
Normal file
25
packages/vaultsink.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
with import <nixpkgs> {};
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "vaultsink";
|
||||
version = "0.1.8";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/cookiefactory/vault-sink/releases/download/v${version}/vault-sink-linux-amd64";
|
||||
sha256 = "057799e7f907186993b591e3b2f743b69d7a9fed";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoPatchelfHook
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
install -m 755 -D vault-sink-linux-amd64 $out/bin/sink
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/cookiefactory/vault-sink";
|
||||
description = "Vault Secret helper for yaml files";
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ foosinn ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue