2016-06-07 23:32:34 +03:00
|
|
|
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
|
2016-06-05 00:13:30 +03:00
|
|
|
|
2016-06-07 23:32:34 +03:00
|
|
|
buildGoPackage rec {
|
2016-06-05 00:13:30 +03:00
|
|
|
name = "vault-${version}";
|
2016-07-26 16:03:45 +03:00
|
|
|
version = "0.6.0";
|
2016-06-05 00:13:30 +03:00
|
|
|
rev = "v${version}";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/hashicorp/vault";
|
|
|
|
|
2016-06-06 13:56:28 +03:00
|
|
|
src = fetchFromGitHub {
|
2016-06-05 00:13:30 +03:00
|
|
|
inherit rev;
|
2016-06-06 13:56:28 +03:00
|
|
|
owner = "hashicorp";
|
|
|
|
repo = "vault";
|
2016-07-26 16:03:45 +03:00
|
|
|
sha256 = "0byb91nqrhl7w0rq0ilml1ybamh8w1qga47a790kggsmjhcj9ybx";
|
2016-06-05 00:13:30 +03:00
|
|
|
};
|
|
|
|
}
|