mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 00:53:57 +00:00
28 lines
725 B
Nix
28 lines
725 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
buildGoModule rec {
|
|
pname = "ytt";
|
|
version = "0.45.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "vmware-tanzu";
|
|
repo = "carvel-ytt";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-G8rQEDVTv3e5YFwKSL7Rd1Is1kjBl08DL4Kl6H8aa68=";
|
|
};
|
|
|
|
vendorSha256 = null;
|
|
|
|
ldflags = [
|
|
"-X github.com/vmware-tanzu/carvel-ytt/pkg/version.Version=${version}"
|
|
];
|
|
|
|
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 techknowlogick ];
|
|
};
|
|
}
|