summary refs log tree commit diff
path: root/pkgs/development/tools/gotests/default.nix
blob: 87a93abee8efb33f0985f318a9d0f45ad548601e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ lib, stdenv, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
  pname = "gotests";
  version = "1.5.3";
  rev = "v${version}";

  goPackagePath = "github.com/cweill/gotests";
  excludedPackages = "testdata";
  goDeps = ./deps.nix;

  src = fetchFromGitHub {
    inherit rev;
    owner = "cweill";
    repo = "gotests";
    sha256 = "1c0hly31ax0wk01zdx0l0yl40xybaizjfb3gjxia2z0mgx330dq9";
  };

  meta = {
    description = "Generate Go tests from your source code";
    homepage = "https://github.com/cweill/gotests";
    maintainers = with lib.maintainers; [ vdemeester ];
    license = lib.licenses.asl20;
  };
}