2018-07-21 02:44:44 +02:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
2018-01-04 19:41:43 +01:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "gotests";
|
2019-05-02 11:32:37 +02:00
|
|
|
version = "1.5.3";
|
2018-01-04 19:41:43 +01: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 11:32:37 +02:00
|
|
|
sha256 = "1c0hly31ax0wk01zdx0l0yl40xybaizjfb3gjxia2z0mgx330dq9";
|
2018-01-04 19:41:43 +01: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;
|
|
|
|
};
|
|
|
|
}
|