2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
pname = "gotests";
|
|
|
|
version = "1.5.3";
|
|
|
|
rev = "v${version}";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/cweill/gotests";
|
|
|
|
excludedPackages = "testdata";
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
inherit rev;
|
|
|
|
owner = "cweill";
|
|
|
|
repo = "gotests";
|
|
|
|
sha256 = "1c0hly31ax0wk01zdx0l0yl40xybaizjfb3gjxia2z0mgx330dq9";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
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";
|
2021-02-05 17:12:51 +00:00
|
|
|
maintainers = with lib.maintainers; [ vdemeester ];
|
|
|
|
license = lib.licenses.asl20;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|