[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/08: gnu: Add ruby-atoulme-saikuro.
From: |
Ricardo Wurmus |
Subject: |
04/08: gnu: Add ruby-atoulme-saikuro. |
Date: |
Mon, 30 Nov 2015 13:45:50 +0000 |
rekado pushed a commit to branch master
in repository guix.
commit fe1ddad54ac430ddf684c5d5fff9dffb9ec7bcb3
Author: Ricardo Wurmus <address@hidden>
Date: Tue Nov 24 16:50:37 2015 +0100
gnu: Add ruby-atoulme-saikuro.
* gnu/packages/ruby.scm (ruby-atoulme-saikuro): New variable.
---
gnu/packages/ruby.scm | 26 ++++++++++++++++++++++++++
1 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 4265435..1aa0397 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -518,6 +518,32 @@ script.")
(home-page "http://rubyforge.org/projects/antwrap/")
(license license:expat)))
+(define-public ruby-atoulme-saikuro
+ (package
+ (name "ruby-atoulme-saikuro")
+ (version "1.2.1")
+ (source (origin
+ (method url-fetch)
+ (uri (rubygems-uri "atoulme-Saikuro" version))
+ (sha256
+ (base32
+ "0kvd2nsxffbza61d3q4j94wrbnbv50r1zy3a7q26f6k706fw1f19"))))
+ (build-system ruby-build-system)
+ ;; FIXME: There are no unit tests. The tests are demonstrations of the
+ ;; "saikuro" tool.
+ (arguments `(#:tests? #f))
+ (synopsis "Cyclomatic complexity analyzer")
+ (description "Saikuro is a Ruby cyclomatic complexity analyzer. When
+given Ruby source code Saikuro will generate a report listing the cyclomatic
+complexity of each method found. In addition, Saikuro counts the number of
+lines per method and can generate a listing of the number of tokens on each
+line of code.")
+ (home-page "http://www.github.com/atoulme/Saikuro")
+ ;; File headers contain the BSD-3 license and the README.rdoc says that
+ ;; "Saikuro uses the BSD license", but the LICENSE file contains the text
+ ;; of the Expat license.
+ (license license:bsd-3)))
+
(define-public ruby-orderedhash
(package
(name "ruby-orderedhash")
- branch master updated (dbd3a91 -> 70b002a), Ricardo Wurmus, 2015/11/30
- 01/08: gnu: Add cereal., Ricardo Wurmus, 2015/11/30
- 02/08: gnu: Add sparsehash., Ricardo Wurmus, 2015/11/30
- 03/08: gnu: Add ruby-simplecov., Ricardo Wurmus, 2015/11/30
- 05/08: gnu: Add ruby-ci-reporter., Ricardo Wurmus, 2015/11/30
- 06/08: gnu: Add ruby-pry-editline., Ricardo Wurmus, 2015/11/30
- 04/08: gnu: Add ruby-atoulme-saikuro.,
Ricardo Wurmus <=
- 07/08: gnu: Add ruby-sdoc., Ricardo Wurmus, 2015/11/30
- 08/08: gnu: Add ruby-tins., Ricardo Wurmus, 2015/11/30