pulumi-esc: init at 0.9.0

This commit is contained in:
yomaq 2024-05-30 21:05:26 -05:00
parent ba6025ce41
commit a122af10ca

View File

@ -0,0 +1,36 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "pulumi-esc";
version = "0.9.0";
src = fetchFromGitHub {
owner = "pulumi";
repo = "esc";
rev = "v${version}";
hash = "sha256-fpS4bnS51Ch3dUvwqHdD4DBpZFZQCqwDlYWotyEfvlQ=";
};
subPackages = "cmd/esc";
vendorHash = "sha256-Wcll/UWgCTBd1Bkbdt6kZZ6jgouWkzkFicv3CvX5hw4=";
ldflags = [
"-s"
"-w"
"-X=github.com/pulumi/esc/cmd/esc/cli/version.Version=${src.rev}"
];
meta = with lib; {
description = "Pulumi ESC (Environments, Secrets, and Configuration) for cloud applications and infrastructure";
homepage = "https://github.com/pulumi/esc/tree/main";
changelog = "https://github.com/pulumi/esc/blob/${src.rev}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ yomaq ];
mainProgram = "esc";
};
}