{ lib, buildGoModule, fetchFromGitHub, }: buildGoModule rec { pname = "cnspec"; version = "12.9.0"; src = fetchFromGitHub { owner = "mondoohq"; repo = "cnspec"; tag = "v${version}"; hash = "sha256-90bM85hKI1XOxdHsVstzJANnWJEhTmmDzzUqL3qx9n4="; }; proxyVendor = true; vendorHash = "sha256-Jf5R5Bz6VgPON49qrrV0Pyd42NfTImSFX0TATT+udOM="; subPackages = [ "apps/cnspec" ]; ldflags = [ "-s" "-w" "-X=go.mondoo.com/cnspec.Version=${version}" ]; meta = with lib; { description = "Open source, cloud-native security and policy project"; homepage = "https://github.com/mondoohq/cnspec"; changelog = "https://github.com/mondoohq/cnspec/releases/tag/v${version}"; license = licenses.bsl11; maintainers = with maintainers; [ fab mariuskimmina ]; }; }