nixpkgs/pkgs/development/tools/ytt/default.nix

24 lines
615 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "ytt";
2022-02-19 07:30:18 +00:00
version = "0.40.0";
src = fetchFromGitHub {
owner = "vmware-tanzu";
repo = "carvel-ytt";
rev = "v${version}";
2022-02-19 07:30:18 +00:00
sha256 = "sha256-Oc4hNeSDsGHsA7V05LHFAJ5xvxWth2wEd3ag2ltVR10=";
};
vendorSha256 = null;
subPackages = [ "cmd/ytt" ];
meta = with lib; {
description = "YAML templating tool that allows configuration of complex software via reusable templates with user-provided values";
homepage = "https://get-ytt.io";
license = licenses.asl20;
maintainers = with maintainers; [ brodes ];
};
}