nixpkgs/pkgs/tools/admin/infra/default.nix

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

28 lines
722 B
Nix
Raw Normal View History

2022-09-21 12:19:43 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "infra";
2023-01-28 23:22:39 +00:00
version = "0.21.0";
2022-09-21 12:19:43 +00:00
src = fetchFromGitHub {
owner = "infrahq";
repo = pname;
rev = "v${version}";
2023-01-28 23:22:39 +00:00
sha256 = "sha256-uz4wimhOfeHSL949m+biIhjfDwwEGnTiJWaz/r3Rsko=";
2022-09-21 12:19:43 +00:00
};
2023-01-28 23:22:39 +00:00
vendorHash = "sha256-qbmaebQcD3cN+tbmzzJbry0AXz2LZFMoqbcBwGGrRo4=";
2022-09-21 12:19:43 +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-06-12 18:07:12 +00:00
license = licenses.elastic;
2022-09-21 12:19:43 +00:00
maintainers = with maintainers; [ peterromfeldhk ];
};
}