depot/third_party/nixpkgs/pkgs/tools/admin/infra/default.nix
Default email a3d4720129 Project import generated by Copybara.
GitOrigin-RevId: e182da8622a354d44c39b3d7a542dc12cd7baa5f
2022-12-28 22:21:41 +01:00

27 lines
720 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "infra";
version = "0.20.0";
src = fetchFromGitHub {
owner = "infrahq";
repo = pname;
rev = "v${version}";
sha256 = "sha256-4sExRKq4J94cQYqjxaXCKa2aEeptCG+TTvrDOrJfBUg=";
};
vendorSha256 = "sha256-afbQQsluZjgliNxSOGcTS1DJwj7en5NpxtuzCDAyv98=";
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";
license = licenses.mit;
maintainers = with maintainers; [ peterromfeldhk ];
};
}