2022-09-22 12:36:57 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "infra";
|
2023-02-02 18:25:31 +00:00
|
|
|
version = "0.21.0";
|
2022-09-22 12:36:57 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "infrahq";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-02-02 18:25:31 +00:00
|
|
|
sha256 = "sha256-uz4wimhOfeHSL949m+biIhjfDwwEGnTiJWaz/r3Rsko=";
|
2022-09-22 12:36:57 +00:00
|
|
|
};
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
vendorHash = "sha256-qbmaebQcD3cN+tbmzzJbry0AXz2LZFMoqbcBwGGrRo4=";
|
2022-09-22 12:36:57 +00:00
|
|
|
|
|
|
|
subPackages = [ "." ];
|
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Infra manages access to infrastructure such as Kubernetes";
|
|
|
|
homepage = "https://github.com/infrahq/infra";
|
|
|
|
changelog = "https://github.com/infrahq/infra/raw/v${version}/CHANGELOG.md";
|
2023-10-09 19:29:22 +00:00
|
|
|
license = licenses.elastic20;
|
2022-09-22 12:36:57 +00:00
|
|
|
maintainers = with maintainers; [ peterromfeldhk ];
|
2024-02-29 20:09:43 +00:00
|
|
|
mainProgram = "infra";
|
2022-09-22 12:36:57 +00:00
|
|
|
};
|
|
|
|
}
|