2022-02-07 17:03:20 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2018-01-04 18:41:43 +00:00
|
|
|
|
2022-02-07 17:03:20 +00:00
|
|
|
buildGoModule rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "gotests";
|
2022-02-07 17:03:20 +00:00
|
|
|
version = "1.6.0";
|
2018-01-04 18:41:43 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cweill";
|
|
|
|
repo = "gotests";
|
2022-02-07 17:03:20 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-6IzUpAsFUgF2FwiC17OfDn1M+8WYFQPpRyXbkpHIztw=";
|
2018-01-04 18:41:43 +00:00
|
|
|
};
|
|
|
|
|
2022-02-07 17:03:20 +00:00
|
|
|
vendorSha256 = "sha256-WMeHZN3s+8pIYEVaSLjI3Bz+rPTWHr1AkZ8lydjBwCw=";
|
|
|
|
|
|
|
|
# tests are broken in nix environment
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-10-11 05:55:05 +00:00
|
|
|
description = "Generate Go tests from your source code";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/cweill/gotests";
|
2022-02-07 17:03:20 +00:00
|
|
|
maintainers = with maintainers; [ vdemeester ];
|
|
|
|
license = licenses.asl20;
|
2018-01-04 18:41:43 +00:00
|
|
|
};
|
|
|
|
}
|