depot/third_party/nixpkgs/pkgs/development/tools/gocyclo/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

25 lines
541 B
Nix

{ buildGoModule
, lib
, fetchFromGitHub
}:
buildGoModule rec {
pname = "gocyclo";
version = "0.6.0";
src = fetchFromGitHub {
owner = "fzipp";
repo = "gocyclo";
rev = "v${version}";
sha256 = "sha256-1IwtGUqshpLDyxH5NNkGUads1TKLs48eslNnFylGUPA=";
};
vendorHash = null;
meta = with lib; {
description = "Calculate cyclomatic complexities of functions in Go source code";
homepage = "https://github.com/fzipp/gocyclo";
license = licenses.bsd3;
maintainers = with maintainers; [ kalbasit ];
};
}