conftest: add changelog to meta
This commit is contained in:
parent
cc7557c35d
commit
fa49d3a685
@ -1,4 +1,8 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub, installShellFiles }:
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, installShellFiles
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "conftest";
|
||||
@ -7,10 +11,10 @@ buildGoModule rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "open-policy-agent";
|
||||
repo = "conftest";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-MzvCMPGg2FYInyXcTh/Y7RhhxH4Z7Y3m4Hkni1hi8wI=";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-MzvCMPGg2FYInyXcTh/Y7RhhxH4Z7Y3m4Hkni1hi8wI=";
|
||||
};
|
||||
vendorSha256 = "sha256-Dl+ErHyHBf5KbHs7H6RmXT0cMIAQ6hReX4aGsoggWbo=";
|
||||
vendorHash = "sha256-Dl+ErHyHBf5KbHs7H6RmXT0cMIAQ6hReX4aGsoggWbo=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
@ -18,7 +22,9 @@ buildGoModule rec {
|
||||
"-X github.com/open-policy-agent/conftest/internal/commands.version=${version}"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
nativeBuildInputs = [
|
||||
installShellFiles
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
export HOME="$(mktemp -d)"
|
||||
@ -41,6 +47,7 @@ buildGoModule rec {
|
||||
description = "Write tests against structured configuration data";
|
||||
downloadPage = "https://github.com/open-policy-agent/conftest";
|
||||
homepage = "https://www.conftest.dev";
|
||||
changelog = "https://github.com/open-policy-agent/conftest/releases/tag/v${version}";
|
||||
license = licenses.asl20;
|
||||
longDescription = ''
|
||||
Conftest helps you write tests against structured configuration data.
|
||||
|
Loading…
Reference in New Issue
Block a user