summary refs log tree commit diff
path: root/pkgs/development/tools/ineffassign/default.nix
blob: 2be22301cdbb8924c2bcab252f13f7f374ffffc7 (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
26
27
28
29
{ buildGoPackage
, lib
, fetchFromGitHub
}:

buildGoPackage rec {
  pname = "ineffassign-unstable";
  version = "2018-09-09";
	rev = "1003c8bd00dc2869cb5ca5282e6ce33834fed514";

  goPackagePath = "github.com/gordonklaus/ineffassign";
  excludedPackages = ''testdata'';

  src = fetchFromGitHub {
    inherit rev;

    owner = "gordonklaus";
    repo = "ineffassign";
    sha256 = "1rkzqvd3z03vq8q8qi9cghvgggsf02ammj9wq8jvpnx6b2sd16nd";
  };

  meta = with lib; {
    description = "Detect ineffectual assignments in Go code.";
    homepage = "https://github.com/gordonklaus/ineffassign";
    license = licenses.mit;
    maintainers = with maintainers; [ kalbasit ];
    platforms = platforms.linux ++ platforms.darwin;
  };
}