2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
2018-01-04 18:41:43 +00:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "gotests";
|
2019-05-02 10:32:37 +01:00
|
|
|
version = "1.5.3";
|
2018-01-04 18:41:43 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/cweill/gotests";
|
|
|
|
excludedPackages = "testdata";
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
inherit rev;
|
|
|
|
owner = "cweill";
|
|
|
|
repo = "gotests";
|
2019-05-02 10:32:37 +01:00
|
|
|
sha256 = "1c0hly31ax0wk01zdx0l0yl40xybaizjfb3gjxia2z0mgx330dq9";
|
2018-01-04 18:41:43 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
2020-10-11 06:55:05 +01:00
|
|
|
description = "Generate Go tests from your source code";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/cweill/gotests";
|
2021-01-23 12:26:19 +00:00
|
|
|
maintainers = with lib.maintainers; [ vdemeester ];
|
|
|
|
license = lib.licenses.asl20;
|
2018-01-04 18:41:43 +00:00
|
|
|
};
|
|
|
|
}
|