My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/tools/misc/unparam/default.nix

27 lines
632 B

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "unparam";
version = "unstable-2021-12-14";
src = fetchFromGitHub {
owner = "mvdan";
repo = "unparam";
rev = "d0ef000c54e5fbf955d67422b0495b9f29b354da";
sha256 = "sha256-fH/LcshpOk+UFfQ5dE2eHi6Oi5cm8umeXoyHJvhpAbE=";
};
vendorSha256 = "sha256-pfIxWvJYAus4DShTcBI1bwn/Q2c5qWvCwPCwfUsv8c0=";
subPackages = [ "." ];
meta = with lib; {
description = "Find unused parameters in Go";
homepage = "https://github.com/mvdan/unparam";
license = licenses.bsd3;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}