Merge pull request #158985 from SuperSandro2000/unparam

This commit is contained in:
Sandro 2022-02-10 21:05:17 +01:00 committed by GitHub
commit eb923275fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ 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 ];
};
}

View file

@ -4214,6 +4214,8 @@ with pkgs;
unionfs-fuse = callPackage ../tools/filesystems/unionfs-fuse { };
unparam = callPackage ../tools/misc/unparam { };
inherit (nodePackages) uppy-companion;
usb-modeswitch = callPackage ../development/tools/misc/usb-modeswitch { };