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