2018-04-04 10:33:47 +01:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "heptio-ark-${version}";
|
2018-10-01 19:37:48 +01:00
|
|
|
version = "0.9.6";
|
2018-04-04 10:33:47 +01:00
|
|
|
|
|
|
|
goPackagePath = "github.com/heptio/ark";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
rev = "v${version}";
|
|
|
|
owner = "heptio";
|
|
|
|
repo = "ark";
|
2018-10-01 19:37:48 +01:00
|
|
|
sha256 = "0q353a6f3hvg1gr6rmg8pbqnkrbgjchdr7f6f9503l1qbyyf95fz";
|
2018-04-04 10:33:47 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
postInstall = "rm $bin/bin/generate";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A utility for managing disaster recovery, specifically for your Kubernetes cluster resources and persistent volumes";
|
|
|
|
homepage = https://heptio.github.io/ark/;
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [maintainers.mbode];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|