Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-19.03 29 lines 709 B view raw
1{ buildGoPackage 2, lib 3, fetchFromGitHub 4}: 5 6buildGoPackage rec { 7 name = "errcheck-${version}"; 8 version = "1.1.0"; 9 10 goPackagePath = "github.com/kisielk/errcheck"; 11 excludedPackages = "\\(testdata\\)"; 12 13 src = fetchFromGitHub { 14 owner = "kisielk"; 15 repo = "errcheck"; 16 rev = "v${version}"; 17 sha256 = "19vd4rxmqbk5lpiav3pf7df3yjlz0l0dwx9mn0gjq5f998iyhy6y"; 18 }; 19 20 goDeps = ./deps.nix; 21 22 meta = with lib; { 23 description = "errcheck is a program for checking for unchecked errors in go programs."; 24 homepage = https://github.com/kisielk/errcheck; 25 license = licenses.mit; 26 maintainers = with maintainers; [ kalbasit ]; 27 platforms = platforms.linux ++ platforms.darwin; 28 }; 29}