1{ lib, buildGoModule, fetchFromGitHub }:
2
3buildGoModule rec {
4 pname = "gotests";
5 version = "1.6.0";
6
7 src = fetchFromGitHub {
8 owner = "cweill";
9 repo = "gotests";
10 rev = "v${version}";
11 sha256 = "sha256-6IzUpAsFUgF2FwiC17OfDn1M+8WYFQPpRyXbkpHIztw=";
12 };
13
14 vendorSha256 = "sha256-WMeHZN3s+8pIYEVaSLjI3Bz+rPTWHr1AkZ8lydjBwCw=";
15
16 # tests are broken in nix environment
17 doCheck = false;
18
19 meta = with lib; {
20 description = "Generate Go tests from your source code";
21 homepage = "https://github.com/cweill/gotests";
22 maintainers = with maintainers; [ vdemeester ];
23 license = licenses.asl20;
24 };
25}