2022-02-10 20:34:41 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-02-10 20:34:41 +00:00
|
|
|
buildGoModule rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "gotests";
|
2022-02-10 20:34:41 +00:00
|
|
|
version = "1.6.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cweill";
|
|
|
|
repo = "gotests";
|
2022-02-10 20:34:41 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-6IzUpAsFUgF2FwiC17OfDn1M+8WYFQPpRyXbkpHIztw=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-02-10 20:34:41 +00:00
|
|
|
vendorSha256 = "sha256-WMeHZN3s+8pIYEVaSLjI3Bz+rPTWHr1AkZ8lydjBwCw=";
|
|
|
|
|
|
|
|
# tests are broken in nix environment
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-10-19 00:13:06 +00:00
|
|
|
description = "Generate Go tests from your source code";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/cweill/gotests";
|
2022-02-10 20:34:41 +00:00
|
|
|
maintainers = with maintainers; [ vdemeester ];
|
|
|
|
license = licenses.asl20;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|