2021-08-05 21:33:18 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "spruce";
|
2021-12-19 01:06:50 +00:00
|
|
|
version = "1.29.0";
|
2021-08-05 21:33:18 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "geofffranks";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-12-19 01:06:50 +00:00
|
|
|
sha256 = "sha256-HjJWiBYd1YFDZ+XOFcU2Df6bmKFBwVQ6YbiZv1IVN3A=";
|
2021-08-05 21:33:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
deleteVendor = true;
|
2021-12-19 01:06:50 +00:00
|
|
|
vendorSha256 = "sha256-67PGSW3wV8i3mAt3rCuWbFmeOe+QhHXn2rTUmeN6YMA=";
|
2021-08-05 21:33:18 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A BOSH template merge tool";
|
|
|
|
homepage = "https://github.com/geofffranks/spruce";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ risson ];
|
|
|
|
};
|
|
|
|
}
|