Files
nixpkgs/pkgs/by-name/un/unparam/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

30 lines
660 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule {
pname = "unparam";
version = "0-unstable-2025-03-01";
src = fetchFromGitHub {
owner = "mvdan";
repo = "unparam";
rev = "0df0534333a487d07b143c1b2c2e0046671d2d63";
hash = "sha256-k/BgHvjB3fXz4CWTHRFja/EiGlof/c80jhRb91FaINs=";
};
vendorHash = "sha256-Q7q0NZgofxChaSpYL5dS4NDadwfrXlLtkG/F7tGJuhA=";
subPackages = [ "." ];
meta = with lib; {
description = "Find unused parameters in Go";
homepage = "https://github.com/mvdan/unparam";
license = licenses.bsd3;
maintainers = with maintainers; [ SuperSandro2000 ];
mainProgram = "unparam";
};
}