2018-11-03 04:29:28 +01:00
|
|
|
{ buildGoPackage
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "ineffassign-unstable";
|
2018-11-03 04:29:28 +01:00
|
|
|
version = "2018-09-09";
|
2021-01-19 22:20:11 +01:00
|
|
|
rev = "1003c8bd00dc2869cb5ca5282e6ce33834fed514";
|
2018-11-03 04:29:28 +01:00
|
|
|
|
|
|
|
goPackagePath = "github.com/gordonklaus/ineffassign";
|
2021-01-24 10:19:10 +01:00
|
|
|
excludedPackages = "testdata";
|
2018-11-03 04:29:28 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
inherit rev;
|
|
|
|
|
|
|
|
owner = "gordonklaus";
|
|
|
|
repo = "ineffassign";
|
|
|
|
sha256 = "1rkzqvd3z03vq8q8qi9cghvgggsf02ammj9wq8jvpnx6b2sd16nd";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-10-11 07:55:05 +02:00
|
|
|
description = "Detect ineffectual assignments in Go code";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/gordonklaus/ineffassign";
|
2018-11-03 04:29:28 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ kalbasit ];
|
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
|
|
};
|
|
|
|
}
|