2022-02-10 16:05:22 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "unparam";
|
2023-06-05 06:38:50 +00:00
|
|
|
version = "unstable-2023-03-12";
|
2022-02-10 16:05:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mvdan";
|
|
|
|
repo = "unparam";
|
2023-06-05 06:38:50 +00:00
|
|
|
rev = "e84e2d14e3b88193890ff95d72ecb81312f36589";
|
|
|
|
sha256 = "sha256-kbEdOqX/p/FrNfWQ2WjXX+lERprSV2EI9l+kapHuFi4=";
|
2022-02-10 16:05:22 +00:00
|
|
|
};
|
|
|
|
|
2023-09-13 04:44:46 +00:00
|
|
|
vendorHash = "sha256-gEZFAMcr1okqG2IXcS3hDzZKMINohd2JzxezGbzyeBE=";
|
2022-02-10 16:05:22 +00:00
|
|
|
|
|
|
|
subPackages = [ "." ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Find unused parameters in Go";
|
|
|
|
homepage = "https://github.com/mvdan/unparam";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
2023-11-27 01:17:53 +00:00
|
|
|
mainProgram = "unparam";
|
2022-02-10 16:05:22 +00:00
|
|
|
};
|
|
|
|
}
|