Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 29 lines 694 B view raw
1{ buildGoModule 2, lib 3, fetchFromGitHub 4}: 5 6buildGoModule rec { 7 pname = "go-tools"; 8 version = "2023.1.7"; 9 10 src = fetchFromGitHub { 11 owner = "dominikh"; 12 repo = "go-tools"; 13 rev = version; 14 sha256 = "sha256-oR3fsvZmeddN75WsxOMcYe/RAIjYz+ba03ADJfDUqNg="; 15 }; 16 17 vendorHash = "sha256-dUO2Iw+RYk8s+3IV2/TSKjaX61YkD/AROq3177r+wKE="; 18 19 excludedPackages = [ "website" ]; 20 21 doCheck = false; 22 23 meta = with lib; { 24 description = "Collection of tools and libraries for working with Go code, including linters and static analysis"; 25 homepage = "https://staticcheck.io"; 26 license = licenses.mit; 27 maintainers = with maintainers; [ rvolosatovs kalbasit smasher164 ]; 28 }; 29}