python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / tools / gocyclo / default.nix
blobbef3d3e7507b01516b8c93f247fa684f88794e13
1 { buildGoModule
2 , lib
3 , fetchFromGitHub
4 }:
6 buildGoModule rec {
7   pname = "gocyclo";
8   version = "0.6.0";
10   src = fetchFromGitHub {
11     owner = "fzipp";
12     repo = "gocyclo";
13     rev = "v${version}";
14     sha256 = "sha256-1IwtGUqshpLDyxH5NNkGUads1TKLs48eslNnFylGUPA=";
15   };
17   vendorSha256 = "sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo=";
19   meta = with lib; {
20     description = "Calculate cyclomatic complexities of functions in Go source code";
21     homepage = "https://github.com/fzipp/gocyclo";
22     license = licenses.bsd3;
23     maintainers = with maintainers; [ kalbasit ];
24   };