Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 24.05-beta 25 lines 626 B view raw
1{ lib, fetchFromGitHub, buildGoModule }: 2 3buildGoModule rec { 4 pname = "errcheck"; 5 version = "1.7.0"; 6 7 src = fetchFromGitHub { 8 owner = "kisielk"; 9 repo = "errcheck"; 10 rev = "v${version}"; 11 hash = "sha256-hl1EbAO4okfTahl+1WDsFuVgm6Ba98Ji0hxqVe7jGbk="; 12 }; 13 14 vendorHash = "sha256-rO2FoFksN3OdKXwlJBuISs6FmCtepc4FDLdOa5AHvC4="; 15 16 subPackages = [ "." ]; 17 18 meta = with lib; { 19 description = "Checks for unchecked errors in go programs"; 20 mainProgram = "errcheck"; 21 homepage = "https://github.com/kisielk/errcheck"; 22 license = licenses.mit; 23 maintainers = with maintainers; [ kalbasit ]; 24 }; 25}