summaryrefslogtreecommitdiff
path: root/gnu/packages/ruby.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/ruby.scm')
-rw-r--r--gnu/packages/ruby.scm58
1 files changed, 56 insertions, 2 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 34c0a6f79f5..cfc91f73af1 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -27,6 +27,7 @@
27;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org> 27;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
28;;; Copyright © 2021 EuAndreh <eu@euandre.org> 28;;; Copyright © 2021 EuAndreh <eu@euandre.org>
29;;; Copyright © 2020 Tomás Ortín Fernández <tomasortin@mailbox.org> 29;;; Copyright © 2020 Tomás Ortín Fernández <tomasortin@mailbox.org>
30;;; Copyright © 2021 Giovanni Biscuolo <g@xelera.eu>
30;;; 31;;;
31;;; This file is part of GNU Guix. 32;;; This file is part of GNU Guix.
32;;; 33;;;
@@ -46,6 +47,7 @@
46(define-module (gnu packages ruby) 47(define-module (gnu packages ruby)
47 #:use-module ((guix licenses) #:prefix license:) 48 #:use-module ((guix licenses) #:prefix license:)
48 #:use-module (gnu packages) 49 #:use-module (gnu packages)
50 #:use-module (gnu packages base)
49 #:use-module (gnu packages bison) 51 #:use-module (gnu packages bison)
50 #:use-module (gnu packages c) 52 #:use-module (gnu packages c)
51 #:use-module (gnu packages check) 53 #:use-module (gnu packages check)
@@ -6079,13 +6081,13 @@ Ruby's large and slower test/unit.")
6079(define-public ruby-term-ansicolor 6081(define-public ruby-term-ansicolor
6080 (package 6082 (package
6081 (name "ruby-term-ansicolor") 6083 (name "ruby-term-ansicolor")
6082 (version "1.6.0") 6084 (version "1.7.1")
6083 (source (origin 6085 (source (origin
6084 (method url-fetch) 6086 (method url-fetch)
6085 (uri (rubygems-uri "term-ansicolor" version)) 6087 (uri (rubygems-uri "term-ansicolor" version))
6086 (sha256 6088 (sha256
6087 (base32 6089 (base32
6088 "1b1wq9ljh7v3qyxkk8vik2fqx2qzwh5lval5f92llmldkw7r7k7b")))) 6090 "1xq5kci9215skdh27npyd3y55p812v4qb4x2hv3xsjvwqzz9ycwj"))))
6089 (build-system ruby-build-system) 6091 (build-system ruby-build-system)
6090 ;; Rebuilding the gemspec seems to require git, even though this is not a 6092 ;; Rebuilding the gemspec seems to require git, even though this is not a
6091 ;; git repository, so we just build the gem from the existing gemspec. 6093 ;; git repository, so we just build the gem from the existing gemspec.
@@ -12391,3 +12393,55 @@ and social networks to better index and display your site's content.")
12391 (home-page 12393 (home-page
12392 "https://github.com/jekyll/jekyll-seo-tag") 12394 "https://github.com/jekyll/jekyll-seo-tag")
12393 (license license:expat))) 12395 (license license:expat)))
12396
12397(define-public ruby-taskjuggler
12398 (package
12399 (name "ruby-taskjuggler")
12400 (version "3.7.1")
12401 (source
12402 (origin
12403 (method url-fetch)
12404 (uri (rubygems-uri "taskjuggler" version))
12405 (sha256
12406 (base32
12407 "1jrsajzhzpnfa8hj6lbf7adn8hls56dz3yw1gvzgz9y4zkka3k9v"))))
12408 (build-system ruby-build-system)
12409 (native-inputs `(("tzdata" ,tzdata-for-tests)))
12410 (propagated-inputs
12411 `(("ruby-mail" ,ruby-mail)
12412 ("ruby-term-ansicolor" ,ruby-term-ansicolor)))
12413 (arguments
12414 '(#:phases (modify-phases %standard-phases
12415 (replace 'replace-git-ls-files
12416 (lambda _
12417 (substitute* "tasks/rdoc.rake"
12418 (("`git ls-files -- lib`")
12419 "`find lib/ -type f |sort`"))
12420 #t))
12421 (add-before 'check 'tzdir-setup
12422 (lambda* (#:key inputs #:allow-other-keys)
12423 (setenv "TZDIR"
12424 (string-append (assoc-ref inputs "tzdata")
12425 "/share/zoneinfo"))
12426 #t))
12427 (add-before 'check 'delete-test-BatchProcessor
12428 ;; test_BatchProcessor fails with exeption:
12429 ;; run> terminated with exception (report_on_exception is true)
12430 (lambda _
12431 (delete-file "test/test_BatchProcessor.rb")
12432 #t)))))
12433 (synopsis
12434 "Project management command line tool with a domain specific language")
12435 (description
12436 "TaskJuggler (tj3) is a project management tool for project planning and
12437tracking using a domain specific language; projects are plain text files
12438written using your favourite text editor. It includes reporting in HTML, CSV
12439or iCalendar format and an email based status tracking system to send and
12440receive time sheets from collaborators.
12441
12442It covers the complete spectrum of project management tasks from the first
12443idea to the completion of the project. It assists you during project scoping,
12444resource assignment, cost and revenue planning, risk and communication
12445management, status tracking and reporting.")
12446 (home-page "https://taskjuggler.org")
12447 (license license:gpl2)))