@@ -0,0 +1,28 @@
1+{ lib, buildGoModule, fetchFromGitHub }:
2+
3+buildGoModule rec {
4+ pname = "conftest";
5+ version = "0.7.0";
6+
7+ src = fetchFromGitHub {
8+ owner = "instrumenta";
9+ repo = "conftest";
10+ rev = "v${version}";
11+ sha256 = "0qq2kp9h91rirlhml5vyzmi7rd4v3pkqjk2bn7mvdn578jnwww24";
12+ };
13+
14+ buildFlagsArray = ''
15+ -ldflags=
16+ -X main.version=${version}
17+ '';
18+
19+ modSha256 = "0c9phka7n2cfi8lf0a3prks2pjna5dgf5lj6az82iklnq4p7177y";
20+
21+ meta = with lib; {
22+ description = "Write tests against structured configuration data";
23+ homepage = https://github.com/instrumenta/conftest;
24+ license = licenses.asl20;
25+ maintainers = with maintainers; [ yurrriq ];
26+ platforms = platforms.all;
27+ };
28+}