depot/third_party/nixpkgs/pkgs/development/tools/gocyclo/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

26 lines
570 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";
mainProgram = "gocyclo";
homepage = "https://github.com/fzipp/gocyclo";
license = licenses.bsd3;
maintainers = with maintainers; [ kalbasit ];
};
}