2022-02-10 20:34:41 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "unparam";
|
2024-06-20 14:57:18 +00:00
|
|
|
version = "0-unstable-2024-05-28";
|
2022-02-10 20:34:41 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mvdan";
|
|
|
|
repo = "unparam";
|
2024-06-20 14:57:18 +00:00
|
|
|
rev = "8a5130ca722ffad18c95cc467b561f1668b9b0d2";
|
|
|
|
hash = "sha256-CYCXTriGUd4bNY6ZPfkX4puE1imcqYHnX1SXVdnXPGM=";
|
2022-02-10 20:34:41 +00:00
|
|
|
};
|
|
|
|
|
2024-06-20 14:57:18 +00:00
|
|
|
vendorHash = "sha256-2lNC4V1WQkJdkagIlBu6tj4SA4KJKstHXc+B4emKu6s=";
|
2022-02-10 20:34:41 +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 ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "unparam";
|
2022-02-10 20:34:41 +00:00
|
|
|
};
|
|
|
|
}
|