2018-07-21 00:44:44 +00:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
2018-01-04 18:41:43 +00:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "gotests-${version}";
|
|
|
|
version = "1.5.2";
|
|
|
|
rev = "v${version}";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/cweill/gotests";
|
|
|
|
excludedPackages = "testdata";
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
inherit rev;
|
|
|
|
owner = "cweill";
|
|
|
|
repo = "gotests";
|
|
|
|
sha256 = "0ff2jvpc1xb5jr6dv9izlpfavxaivzirqmdmicpznrqjz0d56pri";
|
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|