2020-04-24 23:36:52 +00:00
|
|
|
{ buildGoPackage
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
pname = "ineffassign-unstable";
|
|
|
|
version = "2018-09-09";
|
2021-02-05 17:12:51 +00:00
|
|
|
rev = "1003c8bd00dc2869cb5ca5282e6ce33834fed514";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
goPackagePath = "github.com/gordonklaus/ineffassign";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
inherit rev;
|
|
|
|
|
|
|
|
owner = "gordonklaus";
|
|
|
|
repo = "ineffassign";
|
|
|
|
sha256 = "1rkzqvd3z03vq8q8qi9cghvgggsf02ammj9wq8jvpnx6b2sd16nd";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-10-19 00:13:06 +00:00
|
|
|
description = "Detect ineffectual assignments in Go code";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/gordonklaus/ineffassign";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ kalbasit ];
|
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
|
|
};
|
|
|
|
}
|