nixpkgs/pkgs/by-name/pu/pulumi-esc/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
868 B
Nix
Raw Normal View History

2024-05-31 02:05:26 +00:00
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "pulumi-esc";
2024-06-11 04:18:52 +00:00
version = "0.9.1";
2024-05-31 02:05:26 +00:00
src = fetchFromGitHub {
owner = "pulumi";
repo = "esc";
rev = "v${version}";
2024-06-11 04:18:52 +00:00
hash = "sha256-9K7pP4MOShHPTxTuKaUMY87Z4rDkGHrV9Ds1guUpFqM=";
2024-05-31 02:05:26 +00:00
};
subPackages = "cmd/esc";
2024-06-11 04:18:52 +00:00
vendorHash = "sha256-uVw8jc7dZOHdJt9uVDJGaJWkD7dz0rQ3W1pJXSrcW5w=";
2024-05-31 02:05:26 +00:00
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";
};
}