summary refs log tree commit diff
path: root/pkgs/development/tools/gotests/default.nix
blob: 6c8270f85986f09ab7e4e039b54b24a7cba6d91c (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
{ stdenv, buildGoPackage, fetchFromGitHub }:

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;
  };
}