{ lib, buildGoModule, fetchFromGitHub }: buildGoModule rec { pname = "infra"; version = "0.17.1"; src = fetchFromGitHub { owner = "infrahq"; repo = pname; rev = "v${version}"; sha256 = "sha256-iBTssDECRVh/3Iunfvykeoio6i8lN/Qty/ka0Kwe294="; }; vendorSha256 = "sha256-3J15UAu2s65f6UDDhCPIwL9fFBSICkZT2ruS88dAVYA="; 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 ]; }; }