nixpkgs/pkgs/applications/networking/cluster/heptio-ark/default.nix
2018-07-11 22:21:05 +02:00

26 lines
693 B
Nix

{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "heptio-ark-${version}";
version = "0.9.0";
goPackagePath = "github.com/heptio/ark";
src = fetchFromGitHub {
rev = "v${version}";
owner = "heptio";
repo = "ark";
sha256 = "0b3jsgs35l8kk63pjnqn3911pyb397fyvsmd3jd8vzjawisgpdp7";
};
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;
};
}