2018-07-21 01:44:44 +01:00
|
|
|
{ stdenv, 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 = {
|
|
|
|
description = "Generate Go tests from your source code.";
|
|
|
|
homepage = https://github.com/cweill/gotests;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ vdemeester ];
|
|
|
|
license = stdenv.lib.licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|