conftest: init at 0.7.0 (#63610)
This commit is contained in:
parent
9d9b98cdfb
commit
2b5ba7f723
28
pkgs/development/tools/conftest/default.nix
Normal file
28
pkgs/development/tools/conftest/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user