nixpkgs/pkgs/applications/networking/cluster/heptio-ark/default.nix

26 lines
696 B
Nix
Raw Normal View History

2018-04-04 09:33:47 +00:00
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "heptio-ark";
2018-11-18 14:51:12 +00:00
version = "0.10.0";
2018-04-04 09:33:47 +00:00
goPackagePath = "github.com/heptio/ark";
src = fetchFromGitHub {
rev = "v${version}";
owner = "heptio";
repo = "ark";
2018-11-18 14:51:12 +00:00
sha256 = "18h9hvp95va0hyl268gnzciwy1dqmc57bpifbj885870rdfp0ffv";
2018-04-04 09:33:47 +00:00
};
2018-11-18 14:51:12 +00:00
postInstall = "rm $bin/bin/issue-template-gen";
2018-04-04 09:33:47 +00:00
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/";
2018-04-04 09:33:47 +00:00
license = licenses.asl20;
maintainers = [maintainers.mbode];
platforms = platforms.unix;
};
}