summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2018-08-26 18:04:43 +0200
committerJulien Lepiller <julien@lepiller.eu>2018-09-01 23:09:06 +0200
commit37296113799dfadc81a5606d5dace89b406403d8 (patch)
treeb63aadb1d25ba8c9a5e7df103d22cd9861b3e2f7 /gnu
parent49395112c43e62605a75dd02fcce688deb2d5f67 (diff)
gnu: Add ruby-pathutil.
* gnu/packages/ruby.scm (ruby-pathutil): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/ruby.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 3395cc6aa28..5d8a8873e49 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -5844,3 +5844,28 @@ to load dynamic content on storefronts.")
5844 (description "Forwardable Extended provides more @code{Forwardable} 5844 (description "Forwardable Extended provides more @code{Forwardable}
5845methods for your source as @code{Forwardable::Extended}.") 5845methods for your source as @code{Forwardable::Extended}.")
5846 (license license:expat))) 5846 (license license:expat)))
5847
5848(define-public ruby-pathutil
5849 (package
5850 (name "ruby-pathutil")
5851 (version "0.16.1")
5852 (source (origin
5853 (method url-fetch)
5854 (uri (rubygems-uri "pathutil" version))
5855 (sha256
5856 (base32
5857 "0wc18ms1rzi44lpjychyw2a96jcmgxqdvy2949r4vvb5f4p0lgvz"))))
5858 (build-system ruby-build-system)
5859 (propagated-inputs
5860 `(("ruby-forwardable-extended" ,ruby-forwardable-extended)))
5861 (native-inputs
5862 `(("bundler" ,bundler)
5863 ("ruby-rspec" ,ruby-rspec)))
5864 ;; Fails with: cannot load such file --
5865 ;; /tmp/guix-build-ruby-pathutil-0.16.0.drv-0/gem/benchmark/support/task
5866 (arguments `(#:tests? #f))
5867 (home-page "https://github.com/envygeeks/pathutil")
5868 (synopsis "Extended implementation of Pathname")
5869 (description "Pathutil tries to be a faster pure Ruby implementation of
5870Pathname.")
5871 (license license:expat)))