pkgsrc/devel/conftest/Makefile
leot 2dc0288ae0 conftest: Import conftest-0.30.0 as devel/conftest
Conftest helps you write tests against structured configuration data.
Using Conftest you can write tests for your Kubernetes configuration,
Tekton pipeline definitions, Terraform code, Serverless configs or any
other config files.

Conftest uses the Rego language from Open Policy Agent for writing the
assertions.
2022-01-20 23:22:34 +00:00

20 lines
570 B
Makefile

# $NetBSD: Makefile,v 1.1 2022/01/20 23:22:34 leot Exp $
DISTNAME= conftest-0.30.0
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=open-policy-agent/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= leot@NetBSD.org
HOMEPAGE= https://www.conftest.dev/
COMMENT= Tests structured configuration data via OPA Rego query language
LICENSE= apache-2.0
GO_BUILD_PATTERN+= -ldflags ' \
-X github.com/open-policy-agent/conftest/internal/commands.version=${GITHUB_TAG}' \
.
.include "go-modules.mk"
.include "../../lang/go/go-module.mk"
.include "../../mk/bsd.pkg.mk"