diff options
author | Muriithi Frederick Muriuki | 2017-01-25 15:59:45 +0300 |
---|---|---|
committer | Muriithi Frederick Muriuki | 2017-01-25 15:59:45 +0300 |
commit | 29237acd3c18183c4c3f7b3e286e563c248e4eaf (patch) | |
tree | 64e0cc7b528e06a78a9b9b4eab4a5c8b86c3928d | |
parent | 30903c2a94a356f3cc14628489194f2185e9888f (diff) | |
download | guix-bioinformatics-29237acd3c18183c4c3f7b3e286e563c248e4eaf.tar.gz |
python.scm: Add new package python-radon
-rw-r--r-- | gn/packages/python.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gn/packages/python.scm b/gn/packages/python.scm index edfdd0c..e629f76 100644 --- a/gn/packages/python.scm +++ b/gn/packages/python.scm @@ -537,3 +537,34 @@ numpy package, though some legacy software still uses the older versions.") "This package that provides some compatibility helpers for Flake8 plugins that intend to support Flake8 2.x and 3.x simultaneously") (license license:expat))) + +(define-public python-radon + (package + (name "python-radon") + (version "1.4.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/91/48/5853fa60811d6cec1043bd60b057aafc2270" + "6e19ab90b33d8df8155e6b8d/radon-" + version + ".tar.gz")) + (sha256 + (base32 + "15xyzavfj1zwb5rn07fs2wfi6ccys9b5q0s8hmnpqz712mifl92g")))) + (build-system python-build-system) + (inputs + `(("python-colorama" ,python-colorama) + ("python-flake8-polyfill" + ,python-flake8-polyfill) + ("python-mando" ,python-mando))) + (home-page "https://radon.readthedocs.org/") + (synopsis "Code Metrics in Python") + (description "Radon is a Python tool which computes various code metrics. Supported + metrics are: + * raw metrics: SLOC, comment lines, blank lines, &c. + * Cyclomatic Complexity (i.e. McCabe’s Complexity) + * Halstead metrics (all of them) + * the Maintainability Index (a Visual Studio metric)") + (license license:expat))) |