1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/tools/conftest/default.nix

28 lines
702 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2019-06-23 03:03:47 +01:00
buildGoModule rec {
pname = "conftest";
2020-05-02 07:01:53 +01:00
version = "0.18.2";
2019-06-23 03:03:47 +01:00
src = fetchFromGitHub {
owner = "instrumenta";
repo = "conftest";
rev = "v${version}";
2020-05-02 07:01:53 +01:00
sha256 = "15xzldcmnpfg1hd5zr5i7x2zjrgkwnp4nylxbn9kfic2dpjp1a38";
2019-06-23 03:03:47 +01:00
};
vendorSha256 = "1kay7b5rxypj4i0d2iwdlb1mj0qq3zvlrjp34zzv5kywz5gy4144";
2019-06-23 03:03:47 +01:00
buildFlagsArray = ''
-ldflags=
-X main.version=${version}
'';
meta = with lib; {
2019-06-23 03:03:47 +01:00
description = "Write tests against structured configuration data";
2020-03-14 04:21:19 +00:00
homepage = "https://github.com/instrumenta/conftest";
2019-06-23 03:03:47 +01:00
license = licenses.asl20;
maintainers = with maintainers; [ yurrriq ];
platforms = platforms.all;
};
}