ineffassign: 2018-09-09 -> unstable-2021-09-04
This commit is contained in:
parent
30d1a2f29e
commit
7f0406a183
|
@ -1,28 +1,31 @@
|
||||||
{ buildGoPackage
|
{ lib
|
||||||
, lib
|
, buildGoModule
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, go
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoModule rec {
|
||||||
pname = "ineffassign-unstable";
|
pname = "ineffassign";
|
||||||
version = "2018-09-09";
|
version = "unstable-2021-09-04";
|
||||||
rev = "1003c8bd00dc2869cb5ca5282e6ce33834fed514";
|
rev = "4cc7213b9bc8b868b2990c372f6fa057fa88b91c";
|
||||||
|
|
||||||
goPackagePath = "github.com/gordonklaus/ineffassign";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
inherit rev;
|
|
||||||
|
|
||||||
owner = "gordonklaus";
|
owner = "gordonklaus";
|
||||||
repo = "ineffassign";
|
repo = "ineffassign";
|
||||||
sha256 = "1rkzqvd3z03vq8q8qi9cghvgggsf02ammj9wq8jvpnx6b2sd16nd";
|
inherit rev;
|
||||||
|
sha256 = "sha256-XLXANN9TOmrNOixWtlqnIC27u+0TW2P3s9MyeyVUcAQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
vendorSha256 = "sha256-QTgWicN2m2ughtLsEBMaQWfpDbmbL0nS5qaIKF3mTJM=";
|
||||||
|
|
||||||
|
allowGoReference = true;
|
||||||
|
|
||||||
|
checkInputs = [ go ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Detect ineffectual assignments in Go code";
|
description = "Detect ineffectual assignments in Go code";
|
||||||
homepage = "https://github.com/gordonklaus/ineffassign";
|
homepage = "https://github.com/gordonklaus/ineffassign";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ kalbasit ];
|
maintainers = with maintainers; [ kalbasit ];
|
||||||
platforms = platforms.linux ++ platforms.darwin;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue