depot/third_party/nixpkgs/pkgs/development/tools/misc/spruce/default.nix

24 lines
579 B
Nix
Raw Normal View History

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