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