nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 21.05 23 lines 641 B view raw
1{ lib, fetchFromGitHub, buildGoModule }: 2 3buildGoModule rec { 4 pname = "errcheck"; 5 version = "1.6.0"; 6 7 src = fetchFromGitHub { 8 owner = "kisielk"; 9 repo = "errcheck"; 10 rev = "v${version}"; 11 sha256 = "sha256-Przf2c2jFNdkUq7IOUD7ChXHiSayAz4xTsNzajycYZ0="; 12 }; 13 14 vendorSha256 = "sha256-rluaBdW+w2zPThELlBwX/6LXDgc2aIk/ucbrsrABpVc="; 15 16 meta = with lib; { 17 description = "Program for checking for unchecked errors in go programs"; 18 homepage = "https://github.com/kisielk/errcheck"; 19 license = licenses.mit; 20 maintainers = with maintainers; [ kalbasit ]; 21 platforms = platforms.linux ++ platforms.darwin; 22 }; 23}