forked from mirrors/nixpkgs
066db11215
This reverts commit4e6bf03504
, reversing changes made toafd997aab6
. Instead we propagate those frameworks from the compiler again
29 lines
700 B
Nix
29 lines
700 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "conftest";
|
|
version = "0.18.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "instrumenta";
|
|
repo = "conftest";
|
|
rev = "v${version}";
|
|
sha256 = "189as930fksyqk3z636gyqdym1bqm522mya7msfnhzpnh46k5jvd";
|
|
};
|
|
|
|
modSha256 = "0gm08lrlaxc7504mapjdm3c4mwlzybnqxfwkkh6fawzvmd9sqddr";
|
|
|
|
buildFlagsArray = ''
|
|
-ldflags=
|
|
-X main.version=${version}
|
|
'';
|
|
|
|
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;
|
|
};
|
|
}
|