unparam: init at unstable-2021-12-14

main
Sandro Jäckel 2 years ago
parent 1882c6b736
commit d2937f0dbe
No known key found for this signature in database
GPG Key ID: B1763F8651144063
  1. 27
      pkgs/tools/misc/unparam/default.nix
  2. 2
      pkgs/top-level/all-packages.nix

@ -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 ];
};
}

@ -4217,6 +4217,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 { };

Loading…
Cancel
Save