conftest: init at 0.7.0 (#63610)

This commit is contained in:
Eric Bailey 2019-06-23 04:03:47 +02:00 committed by Wael Nasreddine
parent 9d9b98cdfb
commit 2b5ba7f723
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,28 @@
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "conftest";
version = "0.7.0";
src = fetchFromGitHub {
owner = "instrumenta";
repo = "conftest";
rev = "v${version}";
sha256 = "0qq2kp9h91rirlhml5vyzmi7rd4v3pkqjk2bn7mvdn578jnwww24";
};
buildFlagsArray = ''
-ldflags=
-X main.version=${version}
'';
modSha256 = "0c9phka7n2cfi8lf0a3prks2pjna5dgf5lj6az82iklnq4p7177y";
meta = with lib; {
description = "Write tests against structured configuration data";
homepage = https://github.com/instrumenta/conftest;
license = licenses.asl20;
maintainers = with maintainers; [ yurrriq ];
platforms = platforms.all;
};
}

View File

@ -151,6 +151,8 @@ in
cmark = callPackage ../development/libraries/cmark { };
conftest = callPackage ../development/tools/conftest {};
corgi = callPackage ../development/tools/corgi { };
dhallToNix = callPackage ../build-support/dhall-to-nix.nix {