diff options
author | yomaq <yomaq@bsjm.xyz> | 2024-05-30 21:05:26 -0500 |
---|---|---|
committer | yomaq <yomaq@bsjm.xyz> | 2024-05-31 19:58:04 -0500 |
commit | a122af10cabed737751d83478195a002475b99ae (patch) | |
tree | d1c39fef9a40df55d7428eced9f9446eb53b3716 | |
parent | ba6025ce4150d66954ce443a0564a8b72017245a (diff) |
pulumi-esc: init at 0.9.0
-rw-r--r-- | pkgs/by-name/pu/pulumi-esc/package.nix | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/by-name/pu/pulumi-esc/package.nix b/pkgs/by-name/pu/pulumi-esc/package.nix new file mode 100644 index 0000000000000..b74282d66de07 --- /dev/null +++ b/pkgs/by-name/pu/pulumi-esc/package.nix @@ -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"; + }; +} |