15 buildPythonPackage rec {
21 src = fetchFromGitHub {
25 hash = "sha256-yY+j9kuX0ou/uDoVI/Qfqsmq0vNHv735k+vRl22LwwY=";
29 # NOTE: Remove after next release
31 url = "https://github.com/rubik/radon/commit/ce5d2daa0a9e0e843059d6f57a8124c64a87a6dc.patch";
32 hash = "sha256-WwcfR2ZEWeRiMKdMZAwtZRBcWOqoqpaVTmVo0k+Tn74=";
36 nativeBuildInputs = [ poetry-core ];
43 propagatedBuildInputs = [
52 optional-dependencies = {
56 pythonImportsCheck = [ "radon" ];
59 description = "Various code metrics for Python code";
60 homepage = "https://radon.readthedocs.org";
61 changelog = "https://github.com/rubik/radon/blob/v${version}/CHANGELOG";
62 license = licenses.mit;
63 maintainers = with maintainers; [ t4ccer ];
64 mainProgram = "radon";