2014-09-27 14:56:44 +02:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2015-09-06 15:39:18 +02:00
|
|
|
;;; Copyright © 2014, 2015 Pjotr Prins <pjotr.guix@thebird.nl>
|
2014-09-27 14:56:44 +02:00
|
|
|
;;; Copyright © 2014 Ludovic Courtès <ludo@gnu.org>
|
gnu: Add 'file-name' fields for github source tarballs without a name.
* gnu/packages/aarddict.scm (aarddict), gnu/packages/algebra.scm (arb),
gnu/packages/audio.scm (jack-2, lvtk),
gnu/packages/bioinformatics.scm (bedops, bedtools, bowtie),
gnu/packages/game-development.scm (tiled),
gnu/packages/games.scm (minetest-data, minetest, retroarch),
gnu/packages/jrnl.scm (jrnl), gnu/packages/kde.scm (qjson),
gnu/packages/libevent.scm (libuv), gnu/packages/linux.scm (pflask),
gnu/packages/mail.scm (offlineimap, libetpan),
gnu/packages/maths.scm (arpack-ng), gnu/packages/ninja.scm (ninja),
gnu/packages/nutrition.scm (gourmet),
gnu/packages/python.scm (python-cairocffi), gnu/packages/rdf.scm (lrdf),
gnu/packages/ruby.scm (ruby-i18n), gnu/packages/sxiv.scm (sxiv): Add
'file-name' field to origin.
2015-02-27 18:23:27 +01:00
|
|
|
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
|
2015-09-06 15:39:18 +02:00
|
|
|
;;; Copyright © 2014, 2015 David Thompson <davet@gnu.org>
|
2015-08-28 17:24:45 +02:00
|
|
|
;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
|
2015-10-07 10:41:03 +02:00
|
|
|
;;; Copyright © 2015 Ben Woodcroft <donttrustben@gmail.com>
|
2014-09-27 14:56:44 +02:00
|
|
|
;;;
|
|
|
|
;;; This file is part of GNU Guix.
|
|
|
|
;;;
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
;;; your option) any later version.
|
|
|
|
;;;
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
;;;
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
(define-module (gnu packages ruby)
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
|
|
|
#:use-module (gnu packages)
|
|
|
|
#:use-module (gnu packages compression)
|
2015-08-30 04:03:51 +02:00
|
|
|
#:use-module (gnu packages databases)
|
2014-09-27 14:56:44 +02:00
|
|
|
#:use-module (gnu packages readline)
|
|
|
|
#:use-module (gnu packages autotools)
|
2015-08-28 17:25:42 +02:00
|
|
|
#:use-module (gnu packages java)
|
2014-09-27 14:56:44 +02:00
|
|
|
#:use-module (gnu packages libffi)
|
|
|
|
#:use-module (gnu packages gdbm)
|
gnu: Move content of openssl module into tls module.
* gnu/packages/openssl.scm (openssl, perl-net-ssleay): Move to...
* gnu/packages/tls.scm: ...here.
* gnu/packages/openssl.scm: Delete file.
* gnu-system.am (GNU_SYSTEM_MODULES): Unregister deleted file.
* gnu/packages/{admin.scm, bittorrent.scm, certs.scm, ci.scm,
cyrus-sasl.scm, databases.scm, dns.scm, ebook.scm, enlightenment.scm,
gnunet.scm, libreoffice.scm, links.scm, mail.scm, messaging.scm,
networking.scm, ntp.scm, openldap.scm, package-management.scm, pdf.scm,
python.scm, qt.scm, rdesktop.scm, rdf.scm, ruby.scm, ssh.scm,
synergy.scm, tor.scm, version-control.scm, video.scm, vpn.scm,
w3m.scm, web.scm, weechat.scm, xiph.scm}: Adapt module import.
2015-07-05 18:27:24 +02:00
|
|
|
#:use-module (gnu packages tls)
|
2015-06-13 13:46:02 +02:00
|
|
|
#:use-module (gnu packages version-control)
|
2014-09-27 14:56:44 +02:00
|
|
|
#:use-module (guix packages)
|
|
|
|
#:use-module (guix download)
|
2015-02-24 00:22:31 +01:00
|
|
|
#:use-module (guix git-download)
|
2014-09-27 14:56:44 +02:00
|
|
|
#:use-module (guix utils)
|
2014-09-28 17:16:09 +02:00
|
|
|
#:use-module (guix build-system gnu)
|
2015-08-29 14:35:54 +02:00
|
|
|
#:use-module (gnu packages xml)
|
2014-09-28 17:16:09 +02:00
|
|
|
#:use-module (guix build-system ruby))
|
2014-09-27 14:56:44 +02:00
|
|
|
|
|
|
|
(define-public ruby
|
|
|
|
(package
|
|
|
|
(name "ruby")
|
2015-08-19 08:56:08 +02:00
|
|
|
(version "2.2.3")
|
2014-09-27 14:56:44 +02:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2014-10-27 07:34:26 +01:00
|
|
|
(uri (string-append "http://cache.ruby-lang.org/pub/ruby/"
|
|
|
|
(version-major+minor version)
|
2014-10-31 23:57:30 +01:00
|
|
|
"/ruby-" version ".tar.xz"))
|
2014-09-27 14:56:44 +02:00
|
|
|
(sha256
|
|
|
|
(base32
|
2015-08-19 08:56:08 +02:00
|
|
|
"19x8gs67klgc3ag815jpin83jn2nv1akgjcgayd6v3h1xplr1v66"))))
|
2014-09-27 14:56:44 +02:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:test-target "test"
|
|
|
|
#:parallel-tests? #f
|
|
|
|
#:phases
|
2014-10-31 23:57:30 +01:00
|
|
|
(alist-cons-before
|
|
|
|
'configure 'replace-bin-sh
|
2014-09-27 14:56:44 +02:00
|
|
|
(lambda _
|
2014-10-31 23:57:30 +01:00
|
|
|
(substitute* '("Makefile.in"
|
|
|
|
"ext/pty/pty.c"
|
|
|
|
"io.c"
|
|
|
|
"lib/mkmf.rb"
|
|
|
|
"process.c"
|
|
|
|
"test/rubygems/test_gem_ext_configure_builder.rb"
|
|
|
|
"test/rdoc/test_rdoc_parser.rb"
|
|
|
|
"test/ruby/test_rubyoptions.rb"
|
|
|
|
"test/ruby/test_process.rb"
|
|
|
|
"test/ruby/test_system.rb"
|
|
|
|
"tool/rbinstall.rb")
|
|
|
|
(("/bin/sh") (which "sh"))))
|
|
|
|
%standard-phases)))
|
2014-09-27 14:56:44 +02:00
|
|
|
(inputs
|
|
|
|
`(("readline" ,readline)
|
|
|
|
("openssl" ,openssl)
|
|
|
|
("libffi" ,libffi)
|
|
|
|
("gdbm" ,gdbm)
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
(native-search-paths
|
|
|
|
(list (search-path-specification
|
|
|
|
(variable "GEM_PATH")
|
packages: Add 'file-type' field to 'search-path-specification'.
Fixes <http://bugs.gnu.org/18033>.
* guix/packages.scm (<search-path-specification>): Rename 'directories'
field to 'files'. Add 'file-type'.
(search-path-specification->sexp): Honor 'file-type'.
* gnu/packages/autotools.scm, gnu/packages/bootstrap.scm,
gnu/packages/cross-base.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/glib.scm,
gnu/packages/guile.scm, gnu/packages/man.scm,
gnu/packages/perl.scm, gnu/packages/pkg-config.scm,
gnu/packages/python.scm, gnu/packages/ruby.scm,
gnu/packages/xfce.scm: Change 'directories' to 'files'.
* tests/packages.scm ("search paths"): Change 'directories' field to
'files'.
* guix/scripts/environment.scm (for-each-search-path): Likewise.
2014-12-27 23:22:08 +01:00
|
|
|
(files (list (string-append "lib/ruby/gems/"
|
|
|
|
(version-major+minor version)
|
|
|
|
".0"))))))
|
2014-10-27 07:34:26 +01:00
|
|
|
(synopsis "Programming language interpreter")
|
2014-09-27 14:56:44 +02:00
|
|
|
(description "Ruby is a dynamic object-oriented programming language with
|
|
|
|
a focus on simplicity and productivity.")
|
|
|
|
(home-page "https://ruby-lang.org")
|
|
|
|
(license license:ruby)))
|
|
|
|
|
2015-06-13 13:22:10 +02:00
|
|
|
(define-public ruby-2.1
|
|
|
|
(package (inherit ruby)
|
|
|
|
(version "2.1.6")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "http://cache.ruby-lang.org/pub/ruby/"
|
|
|
|
(version-major+minor version)
|
|
|
|
"/ruby-" version ".tar.bz2"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1sbcmbhadcxk0509svwxbm2vvgmpf3xjxr1397bgp9x46nz36lkv"))))
|
|
|
|
(arguments
|
|
|
|
`(#:test-target "test"
|
|
|
|
#:parallel-tests? #f
|
|
|
|
#:phases
|
|
|
|
(alist-cons-before
|
|
|
|
'configure 'replace-bin-sh
|
|
|
|
(lambda _
|
|
|
|
(substitute* '("Makefile.in"
|
|
|
|
"ext/pty/pty.c"
|
|
|
|
"io.c"
|
|
|
|
"lib/mkmf.rb"
|
|
|
|
"process.c")
|
|
|
|
(("/bin/sh") (which "sh"))))
|
|
|
|
%standard-phases)))
|
|
|
|
(native-search-paths
|
|
|
|
(list (search-path-specification
|
|
|
|
(variable "GEM_PATH")
|
|
|
|
(files (list (string-append "lib/ruby/gems/"
|
|
|
|
(version-major+minor version)
|
|
|
|
".0"))))))))
|
|
|
|
|
2014-10-27 06:30:09 +01:00
|
|
|
(define-public ruby-1.8
|
|
|
|
(package (inherit ruby)
|
|
|
|
(version "1.8.7-p374")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2014-10-27 07:34:26 +01:00
|
|
|
(uri (string-append "http://cache.ruby-lang.org/pub/ruby/"
|
|
|
|
(version-major+minor version)
|
|
|
|
"/ruby-" version ".tar.bz2"))
|
2014-10-27 06:30:09 +01:00
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1qq7khilwkayrhwmzlxk83scrmiqfi7lgsn4c63znyvz2c1lgqxl"))))
|
|
|
|
(native-search-paths '())
|
|
|
|
(arguments
|
|
|
|
`(#:test-target "test"
|
|
|
|
#:parallel-tests? #f
|
|
|
|
#:phases
|
|
|
|
(alist-cons-before
|
|
|
|
'configure 'replace-bin-sh
|
|
|
|
(lambda _
|
|
|
|
(substitute* '("Makefile.in"
|
|
|
|
"ext/pty/pty.c"
|
|
|
|
"io.c"
|
|
|
|
"lib/mkmf.rb"
|
|
|
|
"process.c")
|
|
|
|
(("/bin/sh") (which "sh"))))
|
|
|
|
%standard-phases)))))
|
|
|
|
|
2015-02-24 00:22:31 +01:00
|
|
|
(define-public ruby-hoe
|
|
|
|
(package
|
|
|
|
(name "ruby-hoe")
|
|
|
|
(version "3.13.1")
|
|
|
|
(source (origin
|
build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>
* guix/build-system/ruby.scm (lower): Remove git dependency.
(rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
(unpack): Use 'gem unpack' utility.
(check): Add docstring.
(build): Repack modified gem.
(install): Rebuild unpacked gem and install it.
(%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-07-27 04:01:54 +02:00
|
|
|
(method url-fetch)
|
|
|
|
(uri (rubygems-uri "hoe" version))
|
2015-02-24 00:22:31 +01:00
|
|
|
(sha256
|
|
|
|
(base32
|
build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>
* guix/build-system/ruby.scm (lower): Remove git dependency.
(rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
(unpack): Use 'gem unpack' utility.
(check): Add docstring.
(build): Repack modified gem.
(install): Rebuild unpacked gem and install it.
(%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-07-27 04:01:54 +02:00
|
|
|
"1mac13krdrasn9819dd65xj27kklfy0xdbj3p6s2ij4vlcb46h8q"))) )
|
2015-02-24 00:22:31 +01:00
|
|
|
(build-system ruby-build-system)
|
|
|
|
(synopsis "Ruby project management helper")
|
|
|
|
(description
|
|
|
|
"Hoe is a rake/rubygems helper for project Rakefiles. It helps manage,
|
|
|
|
maintain, and release projects and includes a dynamic plug-in system allowing
|
|
|
|
for easy extensibility. Hoe ships with plug-ins for all the usual project
|
|
|
|
tasks including rdoc generation, testing, packaging, deployment, and
|
|
|
|
announcement.")
|
|
|
|
(home-page "http://www.zenspider.com/projects/hoe.html")
|
|
|
|
(license license:expat)))
|
|
|
|
|
2015-07-04 15:00:09 +02:00
|
|
|
(define-public ruby-rake-compiler
|
|
|
|
(package
|
|
|
|
(name "ruby-rake-compiler")
|
|
|
|
(version "0.9.5")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>
* guix/build-system/ruby.scm (lower): Remove git dependency.
(rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
(unpack): Use 'gem unpack' utility.
(check): Add docstring.
(build): Repack modified gem.
(install): Rebuild unpacked gem and install it.
(%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-07-27 04:01:54 +02:00
|
|
|
(uri (rubygems-uri "rake-compiler" version))
|
2015-07-04 15:00:09 +02:00
|
|
|
(sha256
|
|
|
|
(base32
|
build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>
* guix/build-system/ruby.scm (lower): Remove git dependency.
(rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
(unpack): Use 'gem unpack' utility.
(check): Add docstring.
(build): Repack modified gem.
(install): Rebuild unpacked gem and install it.
(%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-07-27 04:01:54 +02:00
|
|
|
"1k8im2vzj849xdgjk6wafspkiwwapqwm738majchb4dnhnsk64cx"))))
|
2015-07-04 15:00:09 +02:00
|
|
|
(build-system ruby-build-system)
|
|
|
|
(arguments
|
build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>
* guix/build-system/ruby.scm (lower): Remove git dependency.
(rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
(unpack): Use 'gem unpack' utility.
(check): Add docstring.
(build): Repack modified gem.
(install): Rebuild unpacked gem and install it.
(%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-07-27 04:01:54 +02:00
|
|
|
'(#:tests? #f)) ; needs cucumber
|
2015-07-04 15:00:09 +02:00
|
|
|
(synopsis "Building and packaging helper for Ruby native extensions")
|
gnu packages: Clean up synopses and descriptions.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm, gnu/packages/bittorrent.scm,
gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/databases.scm, gnu/packages/enchant.scm,
gnu/packages/firmware.scm, gnu/packages/fonts.scm,
gnu/packages/freedesktop.scm, gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gsasl.scm,
gnu/packages/gstreamer.scm, gnu/packages/gtk.scm, gnu/packages/guile.scm,
gnu/packages/haskell.scm, gnu/packages/language.scm,
gnu/packages/lesstif.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/llvm.scm, gnu/packages/maths.scm,
gnu/packages/mcrypt.scm, gnu/packages/mit-krb5.scm, gnu/packages/mp3.scm,
gnu/packages/ncdu.scm, gnu/packages/networking.scm, gnu/packages/ntp.scm,
gnu/packages/ocaml.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/pretty-print.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python.scm,
gnu/packages/rdesktop.scm, gnu/packages/rdf.scm, gnu/packages/ruby.scm,
gnu/packages/slang.scm, gnu/packages/slim.scm, gnu/packages/telephony.scm,
gnu/packages/tls.scm, gnu/packages/tmux.scm, gnu/packages/tre.scm,
gnu/packages/unrtf.scm, gnu/packages/version-control.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wget.scm,
gnu/packages/xdisorg.scm, gnu/packages/xfce.scm, gnu/packages/xiph.scm:
Fix typos. Trim long lines. Add missing periods in the end of sentences.
Use double spaces between sentences. Remove trailing whitespaces.
2015-07-17 14:16:07 +02:00
|
|
|
(description "Rake-compiler provides a framework for building and
|
2015-07-04 15:00:09 +02:00
|
|
|
packaging native C and Java extensions in Ruby.")
|
|
|
|
(home-page "https://github.com/rake-compiler/rake-compiler")
|
|
|
|
(license license:expat)))
|
|
|
|
|
2014-09-28 17:16:09 +02:00
|
|
|
(define-public ruby-i18n
|
|
|
|
(package
|
|
|
|
(name "ruby-i18n")
|
2015-08-29 23:29:03 +02:00
|
|
|
(version "0.7.0")
|
2014-09-28 17:16:09 +02:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>
* guix/build-system/ruby.scm (lower): Remove git dependency.
(rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
(unpack): Use 'gem unpack' utility.
(check): Add docstring.
(build): Repack modified gem.
(install): Rebuild unpacked gem and install it.
(%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-07-27 04:01:54 +02:00
|
|
|
(uri (rubygems-uri "i18n" version))
|
2014-09-28 17:16:09 +02:00
|
|
|
(sha256
|
|
|
|
(base32
|
2015-08-29 23:29:03 +02:00
|
|
|
"1i5z1ykl8zhszsxcs8mzl8d0dxgs3ylz8qlzrw74jb0gplkx6758"))))
|
2014-09-28 17:16:09 +02:00
|
|
|
(build-system ruby-build-system)
|
|
|
|
(arguments
|
2015-08-29 23:29:03 +02:00
|
|
|
'(#:tests? #f)) ; no tests
|
2014-09-28 17:16:09 +02:00
|
|
|
(synopsis "Internationalization library for Ruby")
|
|
|
|
(description "Ruby i18n is an internationalization and localization
|
|
|
|
solution for Ruby programs. It features translation and localization,
|
|
|
|
interpolation of values to translations, pluralization, customizable
|
|
|
|
transliteration to ASCII, flexible defaults, bulk lookup, lambdas as
|
|
|
|
translation data, custom key/scope separator, custom exception handlers, and
|
|
|
|
an extensible architecture with a swappable backend.")
|
|
|
|
(home-page "http://github.com/svenfuchs/i18n")
|
|
|
|
(license license:expat)))
|
2015-05-28 03:33:17 +02:00
|
|
|
|
|
|
|
;; RSpec is the dominant testing library for Ruby projects. Even RSpec's
|
|
|
|
;; dependencies use RSpec for their test suites! To avoid these circular
|
|
|
|
;; dependencies, we disable tests for all of the RSpec-related packages.
|
|
|
|
(define ruby-rspec-support
|
|
|
|
(package
|
|
|
|
(name "ruby-rspec-support")
|
|
|
|
(version "3.2.2")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>
* guix/build-system/ruby.scm (lower): Remove git dependency.
(rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
(unpack): Use 'gem unpack' utility.
(check): Add docstring.
(build): Repack modified gem.
(install): Rebuild unpacked gem and install it.
(%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-07-27 04:01:54 +02:00
|
|
|
(uri (rubygems-uri "rspec-support" version))
|
2015-05-28 03:33:17 +02:00
|
|
|
(sha256
|
|
|
|
(base32
|
build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>
* guix/build-system/ruby.scm (lower): Remove git dependency.
(rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
(unpack): Use 'gem unpack' utility.
(check): Add docstring.
(build): Repack modified gem.
(install): Rebuild unpacked gem and install it.
(%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-07-27 04:01:54 +02:00
|
|
|
"194zry5195ls2hni7r9824vqb5d3qfg4jb15fgj8glfy0rvw3zxl"))))
|
2015-05-28 03:33:17 +02:00
|
|
|
(build-system ruby-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:tests? #f)) ; avoid dependency cycles
|
|
|
|
(synopsis "RSpec support library")
|
|
|
|
(description "Support utilities for RSpec gems.")
|
|
|
|
(home-page "https://github.com/rspec/rspec-support")
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
|
|
(define-public ruby-rspec-core
|
|
|
|
(package
|
|
|
|
(name "ruby-rspec-core")
|
|
|
|
(version "3.2.3")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>
* guix/build-system/ruby.scm (lower): Remove git dependency.
(rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
(unpack): Use 'gem unpack' utility.
(check): Add docstring.
(build): Repack modified gem.
(install): Rebuild unpacked gem and install it.
(%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-07-27 04:01:54 +02:00
|
|
|
(uri (rubygems-uri "rspec-core" version))
|
2015-05-28 03:33:17 +02:00
|
|
|
(sha256
|
|
|
|
(base32
|
build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>
* guix/build-system/ruby.scm (lower): Remove git dependency.
(rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
(unpack): Use 'gem unpack' utility.
(check): Add docstring.
(build): Repack modified gem.
(install): Rebuild unpacked gem and install it.
(%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-07-27 04:01:54 +02:00
|
|
|
"0k2471iw30gc2cvv67damrx666pmsvx8l0ahk3hm20dhfnmcmpvv"))))
|
2015-05-28 03:33:17 +02:00
|
|
|
(build-system ruby-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:tests? #f)) ; avoid dependency cycles
|
|
|
|
(propagated-inputs
|
|
|
|
`(("ruby-rspec-support" ,ruby-rspec-support)))
|
|
|
|
(synopsis "RSpec core library")
|
|
|
|
(description "Rspec-core provides the RSpec test runner and example
|
|
|
|
groups.")
|
|
|
|
(home-page "https://github.com/rspec/rspec-core")
|
|
|
|
(license license:expat)))
|
2015-05-28 03:34:47 +02:00
|
|
|
|
2015-10-07 10:41:03 +02:00
|
|
|
(define-public ruby-rspec-core-2
|
|
|
|
(package (inherit ruby-rspec-core)
|
|
|
|
(version "2.14.8")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (rubygems-uri "rspec-core" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0psjy5kdlz3ph39br0m01w65i1ikagnqlg39f8p65jh5q7dz8hwc"))))
|
|
|
|
(propagated-inputs `())))
|
|
|
|
|
2015-08-30 04:08:20 +02:00
|
|
|
(define-public ruby-diff-lcs
|
2015-05-28 03:34:47 +02:00
|
|
|
(package
|
|
|
|
(name "ruby-diff-lcs")
|
|
|
|
(version "1.2.5")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>
* guix/build-system/ruby.scm (lower): Remove git dependency.
(rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
(unpack): Use 'gem unpack' utility.
(check): Add docstring.
(build): Repack modified gem.
(install): Rebuild unpacked gem and install it.
(%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-07-27 04:01:54 +02:00
|
|
|
(uri (rubygems-uri "diff-lcs" version))
|
2015-05-28 03:34:47 +02:00
|
|
|
(sha256
|
|
|
|
(base32
|
build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>
* guix/build-system/ruby.scm (lower): Remove git dependency.
(rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
(unpack): Use 'gem unpack' utility.
(check): Add docstring.
(build): Repack modified gem.
(install): Rebuild unpacked gem and install it.
(%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-07-27 04:01:54 +02:00
|
|
|
"1vf9civd41bnqi6brr5d9jifdw73j9khc6fkhfl1f8r9cpkdvlx1"))))
|
2015-05-28 03:34:47 +02:00
|
|
|
(build-system ruby-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:tests? #f)) ; avoid dependency cycles
|
|
|
|
(synopsis "Compute the difference between two Enumerable sequences")
|
|
|
|
(description "Diff::LCS computes the difference between two Enumerable
|
|
|
|
sequences using the McIlroy-Hunt longest common subsequence (LCS) algorithm.
|
|
|
|
It includes utilities to create a simple HTML diff output format and a
|
|
|
|
standard diff-like tool.")
|
|
|
|
(home-page "https://github.com/halostatue/diff-lcs")
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
|
|
(define-public ruby-rspec-expectations
|
|
|
|
(package
|
|
|
|
(name "ruby-rspec-expectations")
|
|
|
|
(version "3.2.1")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>
* guix/build-system/ruby.scm (lower): Remove git dependency.
(rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
(unpack): Use 'gem unpack' utility.
(check): Add docstring.
(build): Repack modified gem.
(install): Rebuild unpacked gem and install it.
(%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-07-27 04:01:54 +02:00
|
|
|
(uri (rubygems-uri "rspec-expectations" version))
|
2015-05-28 03:34:47 +02:00
|
|
|
(sha256
|
|
|
|
(base32
|
build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>
* guix/build-system/ruby.scm (lower): Remove git dependency.
(rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
(unpack): Use 'gem unpack' utility.
(check): Add docstring.
(build): Repack modified gem.
(install): Rebuild unpacked gem and install it.
(%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-07-27 04:01:54 +02:00
|
|
|
"01kmchabgpdcaqdsqg8r0g5gy385xhp1k1jsds3w264ypin17n14"))))
|
2015-05-28 03:34:47 +02:00
|
|
|
(build-system ruby-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:tests? #f)) ; avoid dependency cycles
|
|
|
|
(propagated-inputs
|
|
|
|
`(("ruby-rspec-support" ,ruby-rspec-support)
|
2015-08-30 04:08:20 +02:00
|
|
|
("ruby-diff-lcs" ,ruby-diff-lcs)))
|
gnu packages: Clean up synopses and descriptions.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm, gnu/packages/bittorrent.scm,
gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/databases.scm, gnu/packages/enchant.scm,
gnu/packages/firmware.scm, gnu/packages/fonts.scm,
gnu/packages/freedesktop.scm, gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gsasl.scm,
gnu/packages/gstreamer.scm, gnu/packages/gtk.scm, gnu/packages/guile.scm,
gnu/packages/haskell.scm, gnu/packages/language.scm,
gnu/packages/lesstif.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/llvm.scm, gnu/packages/maths.scm,
gnu/packages/mcrypt.scm, gnu/packages/mit-krb5.scm, gnu/packages/mp3.scm,
gnu/packages/ncdu.scm, gnu/packages/networking.scm, gnu/packages/ntp.scm,
gnu/packages/ocaml.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/pretty-print.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python.scm,
gnu/packages/rdesktop.scm, gnu/packages/rdf.scm, gnu/packages/ruby.scm,
gnu/packages/slang.scm, gnu/packages/slim.scm, gnu/packages/telephony.scm,
gnu/packages/tls.scm, gnu/packages/tmux.scm, gnu/packages/tre.scm,
gnu/packages/unrtf.scm, gnu/packages/version-control.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wget.scm,
gnu/packages/xdisorg.scm, gnu/packages/xfce.scm, gnu/packages/xiph.scm:
Fix typos. Trim long lines. Add missing periods in the end of sentences.
Use double spaces between sentences. Remove trailing whitespaces.
2015-07-17 14:16:07 +02:00
|
|
|
(synopsis "RSpec expectations library")
|
2015-05-28 03:34:47 +02:00
|
|
|
(description "Rspec-expectations provides a simple API to express expected
|
|
|
|
outcomes of a code example.")
|
|
|
|
(home-page "https://github.com/rspec/rspec-expectations")
|
|
|
|
(license license:expat)))
|
2015-05-28 03:35:43 +02:00
|
|
|
|
2015-10-07 10:42:54 +02:00
|
|
|
(define-public ruby-rspec-expectations-2
|
|
|
|
(package (inherit ruby-rspec-expectations)
|
|
|
|
(version "2.14.5")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (rubygems-uri "rspec-expectations" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1ni8kw8kjv76jvwjzi4jba00k3qzj9f8wd94vm6inz0jz3gwjqf9"))))
|
|
|
|
(propagated-inputs
|
|
|
|
`(("ruby-diff-lcs" ,ruby-diff-lcs)))))
|
|
|
|
|
2015-05-28 03:35:43 +02:00
|
|
|
(define-public ruby-rspec-mocks
|
|
|
|
(package
|
|
|
|
(name "ruby-rspec-mocks")
|
|
|
|
(version "3.2.1")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>
* guix/build-system/ruby.scm (lower): Remove git dependency.
(rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
(unpack): Use 'gem unpack' utility.
(check): Add docstring.
(build): Repack modified gem.
(install): Rebuild unpacked gem and install it.
(%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-07-27 04:01:54 +02:00
|
|
|
(uri (rubygems-uri "rspec-mocks" version))
|
2015-05-28 03:35:43 +02:00
|
|
|
(sha256
|
|
|
|
(base32
|
build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>
* guix/build-system/ruby.scm (lower): Remove git dependency.
(rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
(unpack): Use 'gem unpack' utility.
(check): Add docstring.
(build): Repack modified gem.
(install): Rebuild unpacked gem and install it.
(%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-07-27 04:01:54 +02:00
|
|
|
"09yig1lwgxl8fsns71z3xhv7wkg7zvagydh37pvaqpw92dz55jv2"))))
|
2015-05-28 03:35:43 +02:00
|
|
|
(build-system ruby-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:tests? #f)) ; avoid dependency cycles
|
|
|
|
(propagated-inputs
|
|
|
|
`(("ruby-rspec-support" ,ruby-rspec-support)
|
2015-08-30 04:08:20 +02:00
|
|
|
("ruby-diff-lcs" ,ruby-diff-lcs)))
|
2015-05-28 03:35:43 +02:00
|
|
|
(synopsis "RSpec stubbing and mocking library")
|
|
|
|
(description "Rspec-mocks provides RSpec's \"test double\" framework, with
|
|
|
|
support for stubbing and mocking.")
|
|
|
|
(home-page "https://github.com/rspec/rspec-mocks")
|
|
|
|
(license license:expat)))
|
2015-05-28 03:36:24 +02:00
|
|
|
|
2015-10-07 10:43:43 +02:00
|
|
|
(define-public ruby-rspec-mocks-2
|
|
|
|
(package (inherit ruby-rspec-mocks)
|
|
|
|
(version "2.14.6")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (rubygems-uri "rspec-mocks" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1fwsmijd6w6cmqyh4ky2nq89jrpzh56hzmndx9wgkmdgfhfakv30"))))
|
|
|
|
(propagated-inputs
|
|
|
|
`(("ruby-diff-lcs" ,ruby-diff-lcs)))))
|
|
|
|
|
2015-05-28 03:36:24 +02:00
|
|
|
(define-public ruby-rspec
|
|
|
|
(package
|
|
|
|
(name "ruby-rspec")
|
|
|
|
(version "3.2.0")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>
* guix/build-system/ruby.scm (lower): Remove git dependency.
(rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
(unpack): Use 'gem unpack' utility.
(check): Add docstring.
(build): Repack modified gem.
(install): Rebuild unpacked gem and install it.
(%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-07-27 04:01:54 +02:00
|
|
|
(uri (rubygems-uri "rspec" version))
|
2015-05-28 03:36:24 +02:00
|
|
|
(sha256
|
|
|
|
(base32
|
build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>
* guix/build-system/ruby.scm (lower): Remove git dependency.
(rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
(unpack): Use 'gem unpack' utility.
(check): Add docstring.
(build): Repack modified gem.
(install): Rebuild unpacked gem and install it.
(%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-07-27 04:01:54 +02:00
|
|
|
"0lkz01j4yxcwb3g5w6r1l9khnyw3sxib4rrh4npd2pxh390fcc4f"))))
|
2015-05-28 03:36:24 +02:00
|
|
|
(build-system ruby-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:tests? #f)) ; avoid dependency cycles
|
|
|
|
(propagated-inputs
|
|
|
|
`(("ruby-rspec-core" ,ruby-rspec-core)
|
|
|
|
("ruby-rspec-mocks" ,ruby-rspec-mocks)
|
|
|
|
("ruby-rspec-expectations" ,ruby-rspec-expectations)))
|
|
|
|
(synopsis "Behavior-driven development framework for Ruby")
|
|
|
|
(description "RSpec is a behavior-driven development (BDD) framework for
|
|
|
|
Ruby. This meta-package includes the RSpec test runner, along with the
|
|
|
|
expectations and mocks frameworks.")
|
|
|
|
(home-page "http://rspec.info/")
|
|
|
|
(license license:expat)))
|
2015-05-28 03:37:06 +02:00
|
|
|
|
2015-10-07 10:45:04 +02:00
|
|
|
(define-public ruby-rspec-2
|
|
|
|
(package (inherit ruby-rspec)
|
|
|
|
(version "2.14.1")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (rubygems-uri "rspec" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"134y4wzk1prninb5a0bhxgm30kqfzl8dg06af4js5ylnhv2wd7sg"))))
|
|
|
|
(propagated-inputs
|
|
|
|
`(("ruby-rspec-core" ,ruby-rspec-core-2)
|
|
|
|
("ruby-rspec-mocks" ,ruby-rspec-mocks-2)
|
|
|
|
("ruby-rspec-expectations" ,ruby-rspec-expectations-2)))))
|
|
|
|
|
2015-05-28 03:37:06 +02:00
|
|
|
;; Bundler is yet another source of circular dependencies, so we must disable
|
|
|
|
;; its test suite as well.
|
|
|
|
(define-public bundler
|
|
|
|
(package
|
|
|
|
(name "bundler")
|
2015-09-03 13:45:28 +02:00
|
|
|
(version "1.10.6")
|
2015-05-28 03:37:06 +02:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>
* guix/build-system/ruby.scm (lower): Remove git dependency.
(rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
(unpack): Use 'gem unpack' utility.
(check): Add docstring.
(build): Repack modified gem.
(install): Rebuild unpacked gem and install it.
(%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-07-27 04:01:54 +02:00
|
|
|
(uri (rubygems-uri "bundler" version))
|
2015-05-28 03:37:06 +02:00
|
|
|
(sha256
|
|
|
|
(base32
|
2015-09-03 13:45:28 +02:00
|
|
|
"1vlzfq0bkkj4jyq6av0y55mh5nj5n0f3mfbmmifwgkh44g8k6agv"))))
|
2015-05-28 03:37:06 +02:00
|
|
|
(build-system ruby-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:tests? #f)) ; avoid dependency cycles
|
|
|
|
(synopsis "Ruby gem bundler")
|
|
|
|
(description "Bundler automatically downloads and installs a list of gems
|
|
|
|
specified in a \"Gemfile\", as well as their dependencies.")
|
|
|
|
(home-page "http://bundler.io/")
|
|
|
|
(license license:expat)))
|
2015-05-28 03:38:28 +02:00
|
|
|
|
2015-08-28 17:24:45 +02:00
|
|
|
(define-public ruby-builder
|
|
|
|
(package
|
|
|
|
(name "ruby-builder")
|
|
|
|
(version "3.2.2")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (rubygems-uri "builder" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"14fii7ab8qszrvsvhz6z2z3i4dw0h41a62fjr2h1j8m41vbrmyv2"))))
|
|
|
|
(build-system ruby-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'do-not-use-rvm
|
|
|
|
(lambda _
|
|
|
|
(substitute* "rakelib/tags.rake"
|
|
|
|
(("RVM_GEMDIR = .*") "RVM_GEMDIR = 'no-rvm-please'\n"))
|
|
|
|
#t)))))
|
|
|
|
(synopsis "Ruby library to create structured data")
|
|
|
|
(description "Builder provides a number of builder objects that make it
|
|
|
|
easy to create structured data. Currently the following builder objects are
|
|
|
|
supported: XML Markup and XML Events.")
|
|
|
|
(home-page "https://github.com/jimweirich/builder")
|
|
|
|
(license license:expat)))
|
|
|
|
|
2015-08-28 17:25:42 +02:00
|
|
|
(define-public ruby-rjb
|
|
|
|
(package
|
|
|
|
(name "ruby-rjb")
|
|
|
|
(version "1.5.3")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (rubygems-uri "rjb" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0gzs92dagk981s4vrymnqg0vll783b9k564j0cdgp167nc5a2zg4"))))
|
|
|
|
(build-system ruby-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:tests? #f ; no rakefile
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-before 'build 'set-java-home
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
(setenv "JAVA_HOME" (assoc-ref inputs "jdk"))
|
|
|
|
#t)))))
|
|
|
|
(native-inputs
|
|
|
|
`(("jdk" ,icedtea7 "jdk")))
|
|
|
|
(synopsis "Ruby-to-Java bridge using the Java Native Interface")
|
|
|
|
(description "RJB is a bridge program that connects Ruby and Java via the
|
|
|
|
Java Native Interface.")
|
|
|
|
(home-page "http://www.artonx.org/collabo/backyard/?RubyJavaBridge")
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
2015-09-16 07:56:44 +02:00
|
|
|
(define-public ruby-log4r
|
|
|
|
(package
|
|
|
|
(name "ruby-log4r")
|
|
|
|
(version "1.1.10")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (rubygems-uri "log4r" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0ri90q0frfmigkirqv5ihyrj59xm8pq5zcmf156cbdv4r4l2jicv"))))
|
|
|
|
(build-system ruby-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:tests? #f)) ; no Rakefile in gem
|
|
|
|
(synopsis "Flexible logging library for Ruby")
|
|
|
|
(description "Comprehensive and flexible logging library written
|
|
|
|
in Ruby for use in Ruby programs. It features a hierarchical logging
|
|
|
|
system of any number of levels, custom level names, logger
|
|
|
|
inheritance, multiple output destinations per log event, execution
|
|
|
|
tracing, custom formatting, thread safteyness, XML and YAML
|
|
|
|
configuration, and more.")
|
|
|
|
(home-page "http://log4r.rubyforge.org/")
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
2015-08-28 17:26:07 +02:00
|
|
|
(define-public ruby-atoulme-antwrap
|
|
|
|
(package
|
|
|
|
(name "ruby-atoulme-antwrap")
|
|
|
|
(version "0.7.5")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (rubygems-uri "atoulme-Antwrap" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"05s3iw44lqa81f8nfy5f0xjj808600h82zb9bsh46b9kcq2w2kmz"))))
|
|
|
|
(build-system ruby-build-system)
|
|
|
|
;; Test data required for most of the tests are not included.
|
|
|
|
(arguments `(#:tests? #f))
|
|
|
|
(native-inputs
|
|
|
|
`(("ruby-hoe" ,ruby-hoe)))
|
|
|
|
(inputs
|
|
|
|
`(("ruby-rjb" ,ruby-rjb)))
|
|
|
|
(synopsis "Ruby wrapper for the Ant build tool")
|
|
|
|
(description "Antwrap is a Ruby module that wraps the Apache Ant build
|
|
|
|
tool. Antwrap can be used to invoke Ant tasks from a Ruby or a JRuby
|
|
|
|
script.")
|
|
|
|
(home-page "http://rubyforge.org/projects/antwrap/")
|
|
|
|
(license license:expat)))
|
|
|
|
|
2015-08-28 17:26:35 +02:00
|
|
|
(define-public ruby-orderedhash
|
|
|
|
(package
|
|
|
|
(name "ruby-orderedhash")
|
|
|
|
(version "0.0.6")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (rubygems-uri "orderedhash" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0fryy7f9jbpx33jq5m402yqj01zcg563k9fsxlqbhmq638p4bzd7"))))
|
|
|
|
(build-system ruby-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:tests? #f)) ; no test suite
|
|
|
|
(synopsis "Ruby library providing an order-preserving hash")
|
|
|
|
(description "Orderedhash is a Ruby library providing a hash
|
|
|
|
implementation that preserves the order of items and features some array-like
|
|
|
|
extensions.")
|
|
|
|
(home-page "http://codeforpeople.com/lib/ruby/orderedhash/")
|
|
|
|
(license license:public-domain)))
|
|
|
|
|
2015-09-15 15:32:34 +02:00
|
|
|
(define-public ruby-libxml
|
|
|
|
(package
|
|
|
|
(name "ruby-libxml")
|
|
|
|
(version "2.8.0")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (rubygems-uri "libxml-ruby" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1dhjqp4r9vkdp00l6h1cj8qfndzxlhlxk6b9g0w4v55gz857ilhb"))))
|
|
|
|
(build-system ruby-build-system)
|
|
|
|
(inputs
|
|
|
|
`(("zlib" ,zlib)
|
|
|
|
("libxml2" ,libxml2)))
|
|
|
|
(arguments
|
|
|
|
'(#:tests? #f ; test suite hangs for unknown reason
|
|
|
|
#:gem-flags
|
|
|
|
(list "--"
|
|
|
|
(string-append "--with-xml2-include="
|
|
|
|
(assoc-ref %build-inputs "libxml2")
|
|
|
|
"/include/libxml2" ))))
|
|
|
|
(synopsis "Ruby bindings for GNOME Libxml2")
|
|
|
|
(description "The Libxml-Ruby project provides Ruby language bindings for
|
|
|
|
the GNOME Libxml2 XML toolkit.")
|
|
|
|
(home-page "http://xml4r.github.com/libxml-ruby")
|
|
|
|
(license license:expat)))
|
|
|
|
|
2015-08-28 17:21:48 +02:00
|
|
|
(define-public ruby-xml-simple
|
|
|
|
(package
|
|
|
|
(name "ruby-xml-simple")
|
|
|
|
(version "1.1.5")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (rubygems-uri "xml-simple" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0xlqplda3fix5pcykzsyzwgnbamb3qrqkgbrhhfz2a2fxhrkvhw8"))))
|
|
|
|
(build-system ruby-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:tests? #f)) ; no test suite
|
|
|
|
(synopsis "Simple Ruby library for XML processing")
|
|
|
|
(description "This library provides a simple API for XML processing in
|
|
|
|
Ruby.")
|
|
|
|
(home-page "https://github.com/maik/xml-simple")
|
|
|
|
(license license:ruby)))
|
|
|
|
|
2015-08-28 17:22:28 +02:00
|
|
|
(define-public ruby-thor
|
|
|
|
(package
|
|
|
|
(name "ruby-thor")
|
|
|
|
(version "0.19.1")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (rubygems-uri "thor" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"08p5gx18yrbnwc6xc0mxvsfaxzgy2y9i78xq7ds0qmdm67q39y4z"))))
|
|
|
|
(build-system ruby-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:tests? #f)) ; no test suite
|
|
|
|
(native-inputs
|
|
|
|
`(("bundler" ,bundler)))
|
|
|
|
(synopsis "Ruby toolkit for building command-line interfaces")
|
|
|
|
(description "Thor is a toolkit for building powerful command-line
|
|
|
|
interfaces.")
|
|
|
|
(home-page "http://whatisthor.com/")
|
|
|
|
(license license:expat)))
|
|
|
|
|
2015-09-16 10:58:49 +02:00
|
|
|
(define-public ruby-lumberjack
|
|
|
|
(package
|
|
|
|
(name "ruby-lumberjack")
|
|
|
|
(version "1.0.9")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (rubygems-uri "lumberjack" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"162frm2bwy58pj8ccsdqa4a6i0csrhb9h5l3inhkl1ivgfc8814l"))))
|
|
|
|
(build-system ruby-build-system)
|
|
|
|
(native-inputs
|
|
|
|
`(("ruby-rspec" ,ruby-rspec)))
|
|
|
|
(synopsis "Logging utility library for Ruby")
|
|
|
|
(description "Lumberjack is a simple logging utility that can be a drop in
|
|
|
|
replacement for Logger or ActiveSupport::BufferedLogger. It provides support
|
|
|
|
for automatically rolling log files even with multiple processes writing the
|
|
|
|
same log file.")
|
|
|
|
(home-page "http://github.com/bdurand/lumberjack")
|
|
|
|
(license license:expat)))
|
|
|
|
|
2015-09-16 10:59:21 +02:00
|
|
|
(define-public ruby-nenv
|
|
|
|
(package
|
|
|
|
(name "ruby-nenv")
|
|
|
|
(version "0.2.0")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (rubygems-uri "nenv" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"152wxwri0afwgnxdf93gi6wjl9rr5z7vwp8ln0gpa3rddbfc27s6"))))
|
|
|
|
(build-system ruby-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:tests? #f)) ; no tests included
|
|
|
|
(native-inputs
|
|
|
|
`(("ruby-rspec" ,ruby-rspec)
|
|
|
|
("bundler" ,bundler)))
|
|
|
|
(synopsis "Ruby interface for modifying the environment")
|
|
|
|
(description "Nenv provides a convenient wrapper for Ruby's ENV to modify
|
|
|
|
and inspect the environment.")
|
|
|
|
(home-page "https://github.com/e2/nenv")
|
|
|
|
(license license:expat)))
|
|
|
|
|
2015-09-16 11:00:45 +02:00
|
|
|
(define-public ruby-shellany
|
|
|
|
(package
|
|
|
|
(name "ruby-shellany")
|
|
|
|
(version "0.0.1")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (rubygems-uri "shellany" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1ryyzrj1kxmnpdzhlv4ys3dnl2r5r3d2rs2jwzbnd1v96a8pl4hf"))))
|
|
|
|
(build-system ruby-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:test-target "default"
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'fix-version-test
|
|
|
|
(lambda _
|
|
|
|
(substitute* "spec/shellany_spec.rb"
|
|
|
|
(("^RSpec") "require \"shellany\"\nRSpec"))
|
|
|
|
#t)))))
|
|
|
|
(native-inputs
|
|
|
|
`(("ruby-rspec" ,ruby-rspec)
|
|
|
|
("ruby-nenv" ,ruby-nenv)
|
|
|
|
("bundler" ,bundler)))
|
|
|
|
(synopsis "Capture command output")
|
|
|
|
(description "Shellany is a Ruby library providing functions to capture
|
|
|
|
the output produced by running shell commands.")
|
|
|
|
(home-page "https://rubygems.org/gems/shellany")
|
|
|
|
(license license:expat)))
|
|
|
|
|
2015-09-16 11:01:34 +02:00
|
|
|
(define-public ruby-notiffany
|
|
|
|
(package
|
|
|
|
(name "ruby-notiffany")
|
|
|
|
(version "0.0.7")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (rubygems-uri "notiffany" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1v5x1w59qq85r6dpv3y9ga34dfd7hka1qxyiykaw7gm0i6kggbhi"))))
|
|
|
|
(build-system ruby-build-system)
|
|
|
|
;; Tests are not included in the gem.
|
|
|
|
(arguments `(#:tests? #f))
|
|
|
|
(propagated-inputs
|
|
|
|
`(("ruby-shellany" ,ruby-shellany)
|
|
|
|
("ruby-nenv" ,ruby-nenv)))
|
|
|
|
(native-inputs
|
|
|
|
`(("bundler" ,bundler)))
|
|
|
|
(synopsis "Wrapper libray for notification libraries")
|
|
|
|
(description "Notiffany is a Ruby wrapper libray for notification
|
|
|
|
libraries such as Libnotify.")
|
|
|
|
(home-page "https://github.com/guard/notiffany")
|
|
|
|
(license license:expat)))
|
|
|
|
|
2015-09-16 11:02:32 +02:00
|
|
|
(define-public ruby-formatador
|
|
|
|
(package
|
|
|
|
(name "ruby-formatador")
|
|
|
|
(version "0.2.5")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (rubygems-uri "formatador" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1gc26phrwlmlqrmz4bagq1wd5b7g64avpx0ghxr9xdxcvmlii0l0"))))
|
|
|
|
(build-system ruby-build-system)
|
|
|
|
;; Circular dependency: Tests require ruby-shindo, which requires
|
|
|
|
;; ruby-formatador at runtime.
|
|
|
|
(arguments `(#:tests? #f))
|
|
|
|
(synopsis "Ruby library to format text on stdout")
|
|
|
|
(description "Formatador is a Ruby library to format text printed to the
|
|
|
|
standard output stream.")
|
|
|
|
(home-page "http://github.com/geemus/formatador")
|
|
|
|
(license license:expat)))
|
|
|
|
|
2015-09-16 11:03:10 +02:00
|
|
|
(define-public ruby-shindo
|
|
|
|
(package
|
|
|
|
(name "ruby-shindo")
|
|
|
|
(version "0.3.8")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (rubygems-uri "shindo" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0s8v1jbz8i0jh92f2fgxb3p51l1azrpkc8nv4mhrqy4vndpvd7wq"))))
|
|
|
|
(build-system ruby-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:test-target "shindo_tests"
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'fix-tests
|
|
|
|
(lambda _
|
|
|
|
(substitute* "Rakefile"
|
|
|
|
(("system \"shindo") "system \"./bin/shindo")
|
|
|
|
;; This test doesn't work, so we disable it.
|
|
|
|
(("fail \"The build_error test should fail") "#"))
|
|
|
|
#t)))))
|
|
|
|
(propagated-inputs
|
|
|
|
`(("ruby-formatador" ,ruby-formatador)))
|
|
|
|
(synopsis "Simple depth first Ruby testing")
|
|
|
|
(description "Shindo is a simple depth first testing library for Ruby.")
|
|
|
|
(home-page "https://github.com/geemus/shindo")
|
|
|
|
(license license:expat)))
|
|
|
|
|
2015-05-28 03:38:28 +02:00
|
|
|
(define-public ruby-useragent
|
|
|
|
(package
|
|
|
|
(name "ruby-useragent")
|
|
|
|
(version "0.13.3")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>
* guix/build-system/ruby.scm (lower): Remove git dependency.
(rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
(unpack): Use 'gem unpack' utility.
(check): Add docstring.
(build): Repack modified gem.
(install): Rebuild unpacked gem and install it.
(%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-07-27 04:01:54 +02:00
|
|
|
(uri (rubygems-uri "useragent" version))
|
2015-05-28 03:38:28 +02:00
|
|
|
(sha256
|
|
|
|
(base32
|
build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>
* guix/build-system/ruby.scm (lower): Remove git dependency.
(rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
(unpack): Use 'gem unpack' utility.
(check): Add docstring.
(build): Repack modified gem.
(install): Rebuild unpacked gem and install it.
(%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-07-27 04:01:54 +02:00
|
|
|
"0kz7yyz7528bv4a2kfymvkcm8whqcddhmgaw1ksw1d90n30hhkpc"))))
|
2015-05-28 03:38:28 +02:00
|
|
|
(build-system ruby-build-system)
|
|
|
|
(arguments
|
build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>
* guix/build-system/ruby.scm (lower): Remove git dependency.
(rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
(unpack): Use 'gem unpack' utility.
(check): Add docstring.
(build): Repack modified gem.
(install): Rebuild unpacked gem and install it.
(%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-07-27 04:01:54 +02:00
|
|
|
'(#:tests? #f)) ; no test suite
|
2015-05-28 03:38:28 +02:00
|
|
|
(synopsis "HTTP user agent parser for Ruby")
|
|
|
|
(description "UserAgent is a Ruby library that parses and compares HTTP
|
|
|
|
User Agents.")
|
|
|
|
(home-page "https://github.com/gshutler/useragent")
|
|
|
|
(license license:expat)))
|
2015-06-05 14:48:02 +02:00
|
|
|
|
|
|
|
(define-public ruby-bacon
|
|
|
|
(package
|
|
|
|
(name "ruby-bacon")
|
build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>
* guix/build-system/ruby.scm (lower): Remove git dependency.
(rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
(unpack): Use 'gem unpack' utility.
(check): Add docstring.
(build): Repack modified gem.
(install): Rebuild unpacked gem and install it.
(%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-07-27 04:01:54 +02:00
|
|
|
(version "1.2.0")
|
2015-06-05 14:48:02 +02:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>
* guix/build-system/ruby.scm (lower): Remove git dependency.
(rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
(unpack): Use 'gem unpack' utility.
(check): Add docstring.
(build): Repack modified gem.
(install): Rebuild unpacked gem and install it.
(%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-07-27 04:01:54 +02:00
|
|
|
(uri (rubygems-uri "bacon" version))
|
2015-06-05 14:48:02 +02:00
|
|
|
(sha256
|
|
|
|
(base32
|
build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>
* guix/build-system/ruby.scm (lower): Remove git dependency.
(rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
(unpack): Use 'gem unpack' utility.
(check): Add docstring.
(build): Repack modified gem.
(install): Rebuild unpacked gem and install it.
(%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-07-27 04:01:54 +02:00
|
|
|
"1f06gdj77bmwzc1k5iragl1595hbn67yc7sqvs56ca8plrr2vmai"))))
|
2015-06-05 14:48:02 +02:00
|
|
|
(build-system ruby-build-system)
|
|
|
|
(synopsis "Small RSpec clone")
|
|
|
|
(description "Bacon is a small RSpec clone providing all essential
|
|
|
|
features.")
|
|
|
|
(home-page "https://github.com/chneukirchen/bacon")
|
|
|
|
(license license:expat)))
|
2015-06-05 18:06:58 +02:00
|
|
|
|
|
|
|
(define-public ruby-arel
|
|
|
|
(package
|
|
|
|
(name "ruby-arel")
|
|
|
|
(version "6.0.0")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>
* guix/build-system/ruby.scm (lower): Remove git dependency.
(rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
(unpack): Use 'gem unpack' utility.
(check): Add docstring.
(build): Repack modified gem.
(install): Rebuild unpacked gem and install it.
(%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-07-27 04:01:54 +02:00
|
|
|
(uri (rubygems-uri "arel" version))
|
2015-06-05 18:06:58 +02:00
|
|
|
(sha256
|
|
|
|
(base32
|
build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>
* guix/build-system/ruby.scm (lower): Remove git dependency.
(rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
(unpack): Use 'gem unpack' utility.
(check): Add docstring.
(build): Repack modified gem.
(install): Rebuild unpacked gem and install it.
(%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-07-27 04:01:54 +02:00
|
|
|
"18wnfnzr2i5p3fygsddjbi1cimws6823nbk8drxidmnj8jz7h0ar"))))
|
2015-06-05 18:06:58 +02:00
|
|
|
(build-system ruby-build-system)
|
build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>
* guix/build-system/ruby.scm (lower): Remove git dependency.
(rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
(unpack): Use 'gem unpack' utility.
(check): Add docstring.
(build): Repack modified gem.
(install): Rebuild unpacked gem and install it.
(%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-07-27 04:01:54 +02:00
|
|
|
(arguments
|
|
|
|
'(#:tests? #f)) ; no test suite
|
2015-06-05 18:06:58 +02:00
|
|
|
(synopsis "SQL AST manager for Ruby")
|
|
|
|
(description "Arel is a SQL AST manager for Ruby. It simplifies the
|
|
|
|
generation of complex SQL queries and adapts to various relational database
|
|
|
|
implementations.")
|
|
|
|
(home-page "https://github.com/rails/arel")
|
|
|
|
(license license:expat)))
|
2015-06-05 22:35:21 +02:00
|
|
|
|
|
|
|
(define-public ruby-connection-pool
|
|
|
|
(package
|
|
|
|
(name "ruby-connection-pool")
|
|
|
|
(version "2.2.0")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>
* guix/build-system/ruby.scm (lower): Remove git dependency.
(rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
(unpack): Use 'gem unpack' utility.
(check): Add docstring.
(build): Repack modified gem.
(install): Rebuild unpacked gem and install it.
(%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-07-27 04:01:54 +02:00
|
|
|
(uri (rubygems-uri "connection_pool" version))
|
2015-06-05 22:35:21 +02:00
|
|
|
(sha256
|
|
|
|
(base32
|
build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>
* guix/build-system/ruby.scm (lower): Remove git dependency.
(rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
(unpack): Use 'gem unpack' utility.
(check): Add docstring.
(build): Repack modified gem.
(install): Rebuild unpacked gem and install it.
(%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-07-27 04:01:54 +02:00
|
|
|
"1b2bb3k39ni5mzcnqlv9y4yjkbin20s7dkwzp0jw2jf1rmzcgrmy"))))
|
2015-06-05 22:35:21 +02:00
|
|
|
(build-system ruby-build-system)
|
|
|
|
(native-inputs
|
|
|
|
`(("bundler" ,bundler)))
|
|
|
|
(synopsis "Generic connection pool for Ruby")
|
|
|
|
(description "Connection_pool provides a generic connection pooling
|
|
|
|
interface for Ruby programs.")
|
|
|
|
(home-page "https://github.com/mperham/connection_pool")
|
|
|
|
(license license:expat)))
|
2015-06-05 22:50:24 +02:00
|
|
|
|
|
|
|
(define-public ruby-net-http-persistent
|
|
|
|
(package
|
|
|
|
(name "ruby-net-http-persistent")
|
|
|
|
(version "2.9.4")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>
* guix/build-system/ruby.scm (lower): Remove git dependency.
(rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
(unpack): Use 'gem unpack' utility.
(check): Add docstring.
(build): Repack modified gem.
(install): Rebuild unpacked gem and install it.
(%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-07-27 04:01:54 +02:00
|
|
|
(uri (rubygems-uri "net-http-persistent" version))
|
2015-06-05 22:50:24 +02:00
|
|
|
(sha256
|
|
|
|
(base32
|
build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>
* guix/build-system/ruby.scm (lower): Remove git dependency.
(rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
(unpack): Use 'gem unpack' utility.
(check): Add docstring.
(build): Repack modified gem.
(install): Rebuild unpacked gem and install it.
(%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-07-27 04:01:54 +02:00
|
|
|
"1y9fhaax0d9kkslyiqi1zys6cvpaqx9a0y0cywp24rpygwh4s9r4"))))
|
2015-06-05 22:50:24 +02:00
|
|
|
(build-system ruby-build-system)
|
|
|
|
(native-inputs
|
|
|
|
`(("ruby-connection-pool" ,ruby-connection-pool)
|
|
|
|
("ruby-hoe" ,ruby-hoe)))
|
|
|
|
(synopsis "Persistent HTTP connection manager")
|
|
|
|
(description "Net::HTTP::Persistent manages persistent HTTP connections
|
|
|
|
using Net::HTTP, supporting reconnection and retry according to RFC 2616.")
|
|
|
|
(home-page "https://github.com/drbrain/net-http-persistent")
|
|
|
|
(license license:expat)))
|
2015-06-06 01:29:26 +02:00
|
|
|
|
2015-06-13 03:06:50 +02:00
|
|
|
(define-public ruby-minitest
|
|
|
|
(package
|
|
|
|
(name "ruby-minitest")
|
|
|
|
(version "5.7.0")
|
|
|
|
(source (origin
|
build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>
* guix/build-system/ruby.scm (lower): Remove git dependency.
(rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
(unpack): Use 'gem unpack' utility.
(check): Add docstring.
(build): Repack modified gem.
(install): Rebuild unpacked gem and install it.
(%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-07-27 04:01:54 +02:00
|
|
|
(method url-fetch)
|
|
|
|
(uri (rubygems-uri "minitest" version))
|
2015-06-13 03:06:50 +02:00
|
|
|
(sha256
|
|
|
|
(base32
|
build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>
* guix/build-system/ruby.scm (lower): Remove git dependency.
(rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
(unpack): Use 'gem unpack' utility.
(check): Add docstring.
(build): Repack modified gem.
(install): Rebuild unpacked gem and install it.
(%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-07-27 04:01:54 +02:00
|
|
|
"0rxqfakp629mp3vwda7zpgb57lcns5znkskikbfd0kriwv8i1vq8"))))
|
2015-06-13 03:06:50 +02:00
|
|
|
(build-system ruby-build-system)
|
|
|
|
(native-inputs
|
|
|
|
`(("ruby-hoe" ,ruby-hoe)))
|
|
|
|
(synopsis "Small test suite library for Ruby")
|
|
|
|
(description "Minitest provides a complete suite of Ruby testing
|
|
|
|
facilities supporting TDD, BDD, mocking, and benchmarking.")
|
|
|
|
(home-page "https://github.com/seattlerb/minitest")
|
|
|
|
(license license:expat)))
|
|
|
|
|
2015-06-13 03:07:13 +02:00
|
|
|
(define-public ruby-minitest-sprint
|
|
|
|
(package
|
|
|
|
(name "ruby-minitest-sprint")
|
|
|
|
(version "1.1.0")
|
|
|
|
(source (origin
|
build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>
* guix/build-system/ruby.scm (lower): Remove git dependency.
(rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
(unpack): Use 'gem unpack' utility.
(check): Add docstring.
(build): Repack modified gem.
(install): Rebuild unpacked gem and install it.
(%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-07-27 04:01:54 +02:00
|
|
|
(method url-fetch)
|
|
|
|
(uri (rubygems-uri "minitest-sprint" version))
|
2015-06-13 03:07:13 +02:00
|
|
|
(sha256
|
|
|
|
(base32
|
build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>
* guix/build-system/ruby.scm (lower): Remove git dependency.
(rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
(unpack): Use 'gem unpack' utility.
(check): Add docstring.
(build): Repack modified gem.
(install): Rebuild unpacked gem and install it.
(%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-07-27 04:01:54 +02:00
|
|
|
"179d6pj56l9xzm46fqsqj10mzjkr1f9fv4cxa8wvchs97hqz33w1"))))
|
2015-06-13 03:07:13 +02:00
|
|
|
(build-system ruby-build-system)
|
|
|
|
(native-inputs
|
|
|
|
`(("ruby-hoe" ,ruby-hoe)
|
|
|
|
("ruby-minitest" ,ruby-minitest)))
|
|
|
|
(synopsis "Fast test suite runner for minitest")
|
|
|
|
(description "Minitest-sprint is a test runner for minitest that makes it
|
|
|
|
easier to re-run individual failing tests.")
|
|
|
|
(home-page "https://github.com/seattlerb/minitest-sprint")
|
|
|
|
(license license:expat)))
|
|
|
|
|
2015-06-13 03:07:36 +02:00
|
|
|
(define-public ruby-minitest-bacon
|
|
|
|
(package
|
|
|
|
(name "ruby-minitest-bacon")
|
|
|
|
(version "1.0.2")
|
|
|
|
(source (origin
|
build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>
* guix/build-system/ruby.scm (lower): Remove git dependency.
(rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
(unpack): Use 'gem unpack' utility.
(check): Add docstring.
(build): Repack modified gem.
(install): Rebuild unpacked gem and install it.
(%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-07-27 04:01:54 +02:00
|
|
|
(method url-fetch)
|
|
|
|
(uri (rubygems-uri "minitest-bacon" version))
|
2015-06-13 03:07:36 +02:00
|
|
|
(sha256
|
|
|
|
(base32
|
build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>
* guix/build-system/ruby.scm (lower): Remove git dependency.
(rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
(unpack): Use 'gem unpack' utility.
(check): Add docstring.
(build): Repack modified gem.
(install): Rebuild unpacked gem and install it.
(%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-07-27 04:01:54 +02:00
|
|
|
"0cm7r68422743i3b6fm4rrm0r6cnnjmglq5gcmmgl1f0rk5hnf6r"))))
|
2015-06-13 03:07:36 +02:00
|
|
|
(build-system ruby-build-system)
|
|
|
|
(native-inputs
|
|
|
|
`(("ruby-hoe" ,ruby-hoe)))
|
|
|
|
(inputs
|
|
|
|
`(("ruby-minitest" ,ruby-minitest)))
|
|
|
|
(synopsis "Bacon compatibility library for minitest")
|
|
|
|
(description "Minitest-bacon extends minitest with bacon-like
|
|
|
|
functionality, making it easier to migrate test suites from bacon to minitest.")
|
|
|
|
(home-page "https://github.com/seattlerb/minitest-bacon")
|
|
|
|
(license license:expat)))
|
|
|
|
|
2015-06-06 01:29:26 +02:00
|
|
|
(define-public ruby-daemons
|
|
|
|
(package
|
|
|
|
(name "ruby-daemons")
|
|
|
|
(version "1.2.2")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>
* guix/build-system/ruby.scm (lower): Remove git dependency.
(rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
(unpack): Use 'gem unpack' utility.
(check): Add docstring.
(build): Repack modified gem.
(install): Rebuild unpacked gem and install it.
(%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-07-27 04:01:54 +02:00
|
|
|
(uri (rubygems-uri "daemons" version))
|
2015-06-06 01:29:26 +02:00
|
|
|
(sha256
|
|
|
|
(base32
|
build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>
* guix/build-system/ruby.scm (lower): Remove git dependency.
(rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
(unpack): Use 'gem unpack' utility.
(check): Add docstring.
(build): Repack modified gem.
(install): Rebuild unpacked gem and install it.
(%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-07-27 04:01:54 +02:00
|
|
|
"121c7vkimg3baxga69xvdkwxiq8wkmxqvdbyqi5i82vhih5d3cn3"))))
|
2015-06-06 01:29:26 +02:00
|
|
|
(build-system ruby-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:tests? #f)) ; no test suite
|
|
|
|
(synopsis "Daemonize Ruby programs")
|
|
|
|
(description "Daemons provides a way to wrap existing Ruby scripts to be
|
|
|
|
run as a daemon and to be controlled by simple start/stop/restart commands.")
|
|
|
|
(home-page "https://github.com/thuehlinger/daemons")
|
|
|
|
(license license:expat)))
|
2015-06-13 13:46:02 +02:00
|
|
|
|
|
|
|
(define-public ruby-git
|
|
|
|
(package
|
|
|
|
(name "ruby-git")
|
|
|
|
(version "1.2.9.1")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>
* guix/build-system/ruby.scm (lower): Remove git dependency.
(rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
(unpack): Use 'gem unpack' utility.
(check): Add docstring.
(build): Repack modified gem.
(install): Rebuild unpacked gem and install it.
(%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-07-27 04:01:54 +02:00
|
|
|
(uri (rubygems-uri "git" version))
|
2015-06-13 13:46:02 +02:00
|
|
|
(sha256
|
|
|
|
(base32
|
build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>
* guix/build-system/ruby.scm (lower): Remove git dependency.
(rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
(unpack): Use 'gem unpack' utility.
(check): Add docstring.
(build): Repack modified gem.
(install): Rebuild unpacked gem and install it.
(%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-07-27 04:01:54 +02:00
|
|
|
"1sqfj8lmhl7c5zamcckkpik4izfph2zkv6krw0i8mzj5pdws5acs"))))
|
2015-06-13 13:46:02 +02:00
|
|
|
(build-system ruby-build-system)
|
|
|
|
(arguments
|
build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>
* guix/build-system/ruby.scm (lower): Remove git dependency.
(rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
(unpack): Use 'gem unpack' utility.
(check): Add docstring.
(build): Repack modified gem.
(install): Rebuild unpacked gem and install it.
(%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-07-27 04:01:54 +02:00
|
|
|
`(#:tests? #f ; no tests
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
(add-after 'install 'patch-git-binary
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
2015-06-13 13:46:02 +02:00
|
|
|
;; Make the default git binary an absolute path to the
|
|
|
|
;; store.
|
build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>
* guix/build-system/ruby.scm (lower): Remove git dependency.
(rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
(unpack): Use 'gem unpack' utility.
(check): Add docstring.
(build): Repack modified gem.
(install): Rebuild unpacked gem and install it.
(%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-07-27 04:01:54 +02:00
|
|
|
(let ((git (string-append (assoc-ref inputs "git")
|
|
|
|
"/bin/git"))
|
|
|
|
(config (string-append (getenv "GEM_HOME")
|
|
|
|
"/gems/git-" ,version
|
|
|
|
"/lib/git/config.rb")))
|
|
|
|
(substitute* (list config)
|
2015-06-13 13:46:02 +02:00
|
|
|
(("'git'")
|
|
|
|
(string-append "'" git "'")))
|
build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>
* guix/build-system/ruby.scm (lower): Remove git dependency.
(rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
(unpack): Use 'gem unpack' utility.
(check): Add docstring.
(build): Repack modified gem.
(install): Rebuild unpacked gem and install it.
(%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-07-27 04:01:54 +02:00
|
|
|
#t))))))
|
2015-06-13 13:46:02 +02:00
|
|
|
(inputs
|
|
|
|
`(("git" ,git)))
|
|
|
|
(synopsis "Ruby wrappers for Git")
|
|
|
|
(description "Ruby/Git is a Ruby library that can be used to create, read
|
|
|
|
and manipulate Git repositories by wrapping system calls to the git binary.")
|
|
|
|
(home-page "https://github.com/schacon/ruby-git")
|
|
|
|
(license license:expat)))
|
2015-06-13 13:53:23 +02:00
|
|
|
|
|
|
|
(define-public ruby-slop
|
|
|
|
(package
|
|
|
|
(name "ruby-slop")
|
|
|
|
(version "4.1.0")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>
* guix/build-system/ruby.scm (lower): Remove git dependency.
(rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
(unpack): Use 'gem unpack' utility.
(check): Add docstring.
(build): Repack modified gem.
(install): Rebuild unpacked gem and install it.
(%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-07-27 04:01:54 +02:00
|
|
|
(uri (rubygems-uri "slop" version))
|
2015-06-13 13:53:23 +02:00
|
|
|
(sha256
|
|
|
|
(base32
|
build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>
* guix/build-system/ruby.scm (lower): Remove git dependency.
(rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
(unpack): Use 'gem unpack' utility.
(check): Add docstring.
(build): Repack modified gem.
(install): Rebuild unpacked gem and install it.
(%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-07-27 04:01:54 +02:00
|
|
|
"0dj0ps6v1mqd02k84mgwd7hp578n2bzl7c51h3grdhxfl3jkfsj5"))))
|
2015-06-13 13:53:23 +02:00
|
|
|
(build-system ruby-build-system)
|
|
|
|
(native-inputs
|
|
|
|
`(("ruby-minitest" ,ruby-minitest)))
|
|
|
|
(synopsis "Ruby command line option parser")
|
|
|
|
(description "Slop provides a Ruby domain specific language for gathering
|
|
|
|
options and parsing command line flags.")
|
|
|
|
(home-page "https://github.com/leejarvis/slop")
|
|
|
|
(license license:expat)))
|
2015-06-13 14:06:12 +02:00
|
|
|
|
2015-09-06 15:00:55 +02:00
|
|
|
(define-public ruby-slop-3
|
|
|
|
(package (inherit ruby-slop)
|
|
|
|
(version "3.6.0")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (rubygems-uri "slop" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"00w8g3j7k7kl8ri2cf1m58ckxk8rn350gp4chfscmgv6pq1spk3n"))))))
|
|
|
|
|
2015-06-13 14:06:12 +02:00
|
|
|
(define-public ruby-multipart-post
|
|
|
|
(package
|
|
|
|
(name "ruby-multipart-post")
|
|
|
|
(version "2.0.0")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>
* guix/build-system/ruby.scm (lower): Remove git dependency.
(rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
(unpack): Use 'gem unpack' utility.
(check): Add docstring.
(build): Repack modified gem.
(install): Rebuild unpacked gem and install it.
(%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-07-27 04:01:54 +02:00
|
|
|
(uri (rubygems-uri "multipart-post" version))
|
2015-06-13 14:06:12 +02:00
|
|
|
(sha256
|
|
|
|
(base32
|
build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>
* guix/build-system/ruby.scm (lower): Remove git dependency.
(rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
(unpack): Use 'gem unpack' utility.
(check): Add docstring.
(build): Repack modified gem.
(install): Rebuild unpacked gem and install it.
(%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-07-27 04:01:54 +02:00
|
|
|
"09k0b3cybqilk1gwrwwain95rdypixb2q9w65gd44gfzsd84xi1x"))))
|
2015-06-13 14:06:12 +02:00
|
|
|
(build-system ruby-build-system)
|
|
|
|
(native-inputs
|
|
|
|
`(("bundler" ,bundler)))
|
|
|
|
(synopsis "Multipart POST library for Ruby")
|
|
|
|
(description "Multipart-Post Adds multipart POST capability to Ruby's
|
|
|
|
net/http library.")
|
|
|
|
(home-page "https://github.com/nicksieger/multipart-post")
|
|
|
|
(license license:expat)))
|
2015-08-17 03:58:12 +02:00
|
|
|
|
|
|
|
(define-public ruby-arel
|
|
|
|
(package
|
|
|
|
(name "ruby-arel")
|
|
|
|
(version "6.0.3")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (rubygems-uri "arel" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1a270mlajhrmpqbhxcqjqypnvgrq4pgixpv3w9gwp1wrrapnwrzk"))))
|
|
|
|
(build-system ruby-build-system)
|
|
|
|
(arguments '(#:tests? #f)) ; no tests
|
|
|
|
(home-page "https://github.com/rails/arel")
|
|
|
|
(synopsis "SQL AST manager for Ruby")
|
|
|
|
(description "Arel is a SQL AST manager for Ruby. It simplifies the
|
|
|
|
generation of complex SQL queries and is compatible with various RDBMSes.")
|
|
|
|
(license license:expat)))
|
2015-08-29 14:32:32 +02:00
|
|
|
|
|
|
|
(define-public ruby-minitar
|
|
|
|
(package
|
|
|
|
(name "ruby-minitar")
|
|
|
|
(version "0.5.4")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (rubygems-uri "minitar" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1vpdjfmdq1yc4i620frfp9af02ia435dnpj8ybsd7dc3rypkvbka"))))
|
|
|
|
(build-system ruby-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:tests? #f)) ; missing a gemspec
|
|
|
|
(synopsis "Ruby library and utility for handling tar archives")
|
|
|
|
(description
|
|
|
|
"Archive::Tar::Minitar is a pure-Ruby library and command-line utility
|
|
|
|
that provides the ability to deal with POSIX tar archive files.")
|
|
|
|
(home-page "http://www.github.com/atoulme/minitar")
|
|
|
|
(license (list license:gpl2+ license:ruby))))
|
2015-08-29 14:32:56 +02:00
|
|
|
|
|
|
|
(define-public ruby-mini-portile
|
|
|
|
(package
|
|
|
|
(name "ruby-mini-portile")
|
|
|
|
(version "0.6.2")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (rubygems-uri "mini_portile" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0h3xinmacscrnkczq44s6pnhrp4nqma7k056x5wv5xixvf2wsq2w"))))
|
|
|
|
(build-system ruby-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:tests? #f)) ; tests require network access
|
|
|
|
(synopsis "Ports system for Ruby developers")
|
|
|
|
(description "Mini-portile is a port/recipe system for Ruby developers.
|
|
|
|
It provides a standard way to compile against specific versions of libraries
|
|
|
|
to reproduce user environments.")
|
|
|
|
(home-page "http://github.com/flavorjones/mini_portile")
|
|
|
|
(license license:expat)))
|
2015-08-29 14:35:54 +02:00
|
|
|
|
|
|
|
(define-public ruby-nokogiri
|
|
|
|
(package
|
|
|
|
(name "ruby-nokogiri")
|
|
|
|
(version "1.6.6.2")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (rubygems-uri "nokogiri" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1j4qv32qjh67dcrc1yy1h8sqjnny8siyy4s44awla8d6jk361h30"))))
|
|
|
|
(build-system ruby-build-system)
|
|
|
|
(arguments
|
|
|
|
;; Tests fail because Nokogiri can only test with an installed extension,
|
|
|
|
;; and also because many test framework dependencies are missing.
|
|
|
|
'(#:tests? #f
|
|
|
|
#:gem-flags (list "--" "--use-system-libraries"
|
|
|
|
(string-append "--with-xml2-include="
|
|
|
|
(assoc-ref %build-inputs "libxml2")
|
|
|
|
"/include/libxml2" ))))
|
|
|
|
(native-inputs
|
|
|
|
`(("ruby-hoe" ,ruby-hoe)
|
|
|
|
("ruby-rake-compiler", ruby-rake-compiler)))
|
|
|
|
(inputs
|
|
|
|
`(("zlib" ,zlib)
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
("libxslt" ,libxslt)))
|
|
|
|
(propagated-inputs
|
|
|
|
`(("ruby-mini-portile" ,ruby-mini-portile)))
|
|
|
|
(synopsis "HTML, XML, SAX, and Reader parser for Ruby")
|
|
|
|
(description "Nokogiri (鋸) parses and searches XML/HTML, and features
|
|
|
|
both CSS3 selector and XPath 1.0 support.")
|
|
|
|
(home-page "http://www.nokogiri.org/")
|
|
|
|
(license license:expat)))
|
2015-08-30 04:53:34 +02:00
|
|
|
|
|
|
|
(define-public ruby-method-source
|
|
|
|
(package
|
|
|
|
(name "ruby-method-source")
|
|
|
|
(version "0.8.2")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (rubygems-uri "method_source" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1g5i4w0dmlhzd18dijlqw5gk27bv6dj2kziqzrzb7mpgxgsd1sf2"))))
|
|
|
|
(build-system ruby-build-system)
|
|
|
|
(native-inputs
|
|
|
|
`(("ruby-bacon" ,ruby-bacon)
|
|
|
|
("git" ,git)))
|
|
|
|
(synopsis "Retrieve the source code for Ruby methods")
|
|
|
|
(description "Method_source retrieves the source code for Ruby methods.
|
|
|
|
Additionally, it can extract source code from Proc and Lambda objects or just
|
|
|
|
extract comments.")
|
|
|
|
(home-page "https://github.com/banister/method_source")
|
|
|
|
(license license:expat)))
|
2015-08-30 04:54:05 +02:00
|
|
|
|
|
|
|
(define-public ruby-coderay
|
|
|
|
(package
|
|
|
|
(name "ruby-coderay")
|
|
|
|
(version "1.1.0")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (rubygems-uri "coderay" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"059wkzlap2jlkhg460pkwc1ay4v4clsmg1bp4vfzjzkgwdckr52s"))))
|
|
|
|
(build-system ruby-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:tests? #f)) ; missing test files
|
|
|
|
(synopsis "Ruby syntax highlighting library")
|
|
|
|
(description "Coderay is a Ruby library that provides syntax highlighting
|
|
|
|
for select languages.")
|
|
|
|
(home-page "http://coderay.rubychan.de")
|
|
|
|
(license license:expat)))
|
2015-08-30 04:54:24 +02:00
|
|
|
|
|
|
|
(define-public ruby-pry
|
|
|
|
(package
|
|
|
|
(name "ruby-pry")
|
|
|
|
(version "0.10.1")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (rubygems-uri "pry" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1j0r5fm0wvdwzbh6d6apnp7c0n150hpm9zxpm5xvcgfqr36jaj8z"))))
|
|
|
|
(build-system ruby-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:tests? #f)) ; no tests
|
|
|
|
(propagated-inputs
|
|
|
|
`(("ruby-coderay" ,ruby-coderay)
|
|
|
|
("ruby-method-source" ,ruby-method-source)
|
|
|
|
("ruby-slop" ,ruby-slop-3)))
|
|
|
|
(synopsis "Ruby REPL")
|
|
|
|
(description "Pry is an IRB alternative and runtime developer console for
|
|
|
|
Ruby. It features syntax highlighting, a plugin architecture, runtime
|
|
|
|
invocation, and source and documentation browsing.")
|
|
|
|
(home-page "http://pryrepl.org")
|
|
|
|
(license license:expat)))
|
2015-08-30 15:21:23 +02:00
|
|
|
|
|
|
|
(define-public ruby-thread-safe
|
|
|
|
(package
|
|
|
|
(name "ruby-thread-safe")
|
|
|
|
(version "0.3.5")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (rubygems-uri "thread_safe" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1hq46wqsyylx5afkp6jmcihdpv4ynzzq9ygb6z2pb1cbz5js0gcr"))))
|
|
|
|
(build-system ruby-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:tests? #f)) ; needs simplecov, among others
|
|
|
|
(synopsis "Thread-safe utilities for Ruby")
|
|
|
|
(description "The thread_safe library provides thread-safe collections and
|
|
|
|
utilities for Ruby.")
|
|
|
|
(home-page "https://github.com/ruby-concurrency/thread_safe")
|
|
|
|
(license license:asl2.0)))
|
2015-08-30 15:21:46 +02:00
|
|
|
|
|
|
|
(define-public ruby-tzinfo
|
|
|
|
(package
|
|
|
|
(name "ruby-tzinfo")
|
|
|
|
(version "1.2.2")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (rubygems-uri "tzinfo" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1c01p3kg6xvy1cgjnzdfq45fggbwish8krd0h864jvbpybyx7cgx"))))
|
|
|
|
(build-system ruby-build-system)
|
|
|
|
(propagated-inputs
|
|
|
|
`(("ruby-thread-safe" ,ruby-thread-safe)))
|
|
|
|
(synopsis "Time zone library for Ruby")
|
|
|
|
(description "TZInfo is a Ruby library that provides daylight savings
|
|
|
|
aware transformations between times in different time zones.")
|
|
|
|
(home-page "http://tzinfo.github.io")
|
|
|
|
(license license:expat)))
|
2015-08-30 15:22:12 +02:00
|
|
|
|
|
|
|
(define-public ruby-json
|
|
|
|
(package
|
|
|
|
(name "ruby-json")
|
|
|
|
(version "1.8.3")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (rubygems-uri "json" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1nsby6ry8l9xg3yw4adlhk2pnc7i0h0rznvcss4vk3v74qg0k8lc"))))
|
|
|
|
(build-system ruby-build-system)
|
|
|
|
(arguments '(#:tests? #f)) ; dependency cycle with sdoc
|
|
|
|
(synopsis "JSON library for Ruby")
|
|
|
|
(description "This Ruby library provides a JSON implementation written as
|
|
|
|
a native C extension.")
|
|
|
|
(home-page "http://json-jruby.rubyforge.org/")
|
|
|
|
(license (list license:ruby license:gpl2)))) ; GPL2 only
|
2015-08-30 15:22:50 +02:00
|
|
|
|
|
|
|
(define-public ruby-activesupport
|
|
|
|
(package
|
|
|
|
(name "ruby-activesupport")
|
|
|
|
(version "4.2.4")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (rubygems-uri "activesupport" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"19n38rj6r1gyxgka18qvcxyla0fwan8a5p3ghq0pp8aj93sbmr6f"))))
|
|
|
|
(build-system ruby-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:tests? #f)) ; no tests
|
|
|
|
(propagated-inputs
|
|
|
|
`(("ruby-i18n" ,ruby-i18n)
|
|
|
|
("ruby-json" ,ruby-json)
|
|
|
|
("ruby-minitest" ,ruby-minitest)
|
|
|
|
("ruby-thread-safe" ,ruby-thread-safe)
|
|
|
|
("ruby-tzinfo" ,ruby-tzinfo)))
|
|
|
|
(synopsis "Ruby on Rails utility library")
|
|
|
|
(description "ActiveSupport is a toolkit of support libraries and Ruby
|
|
|
|
core extensions extracted from the Rails framework. It includes support for
|
|
|
|
multibyte strings, internationalization, time zones, and testing.")
|
|
|
|
(home-page "http://www.rubyonrails.org")
|
|
|
|
(license license:expat)))
|
2015-09-04 21:01:11 +02:00
|
|
|
|
|
|
|
(define-public ruby-ox
|
|
|
|
(package
|
|
|
|
(name "ruby-ox")
|
|
|
|
(version "2.2.1")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (rubygems-uri "ox" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"00i11xd4ayh7349rhgskajfxn0qzkb74ab01217zix9qcapssxax"))))
|
|
|
|
(build-system ruby-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:tests? #f)) ; no tests
|
|
|
|
(synopsis "Optimized XML library for Ruby")
|
|
|
|
(description
|
|
|
|
"Optimized XML (Ox) is a fast XML parser and object serializer for Ruby
|
|
|
|
written as a native C extension. It was designed to be an alternative to
|
|
|
|
Nokogiri and other Ruby XML parsers for generic XML parsing and as an
|
|
|
|
alternative to Marshal for Object serialization. ")
|
|
|
|
(home-page "http://www.ohler.com/ox")
|
|
|
|
(license license:expat)))
|
2015-08-30 04:03:51 +02:00
|
|
|
|
|
|
|
(define-public ruby-pg
|
|
|
|
(package
|
|
|
|
(name "ruby-pg")
|
|
|
|
(version "0.18.2")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (rubygems-uri "pg" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1axxbf6ij1iqi3i1r3asvjc80b0py5bz0m2wy5kdi5xkrpr82kpf"))))
|
|
|
|
(build-system ruby-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:test-target "spec"))
|
|
|
|
(native-inputs
|
|
|
|
`(("ruby-rake-compiler" ,ruby-rake-compiler)
|
|
|
|
("ruby-hoe" ,ruby-hoe)
|
|
|
|
("ruby-rspec" ,ruby-rspec)))
|
|
|
|
(inputs
|
|
|
|
`(("postgresql" ,postgresql)))
|
|
|
|
(synopsis "Ruby interface to PostgreSQL")
|
|
|
|
(description "Pg is the Ruby interface to the PostgreSQL RDBMS. It works
|
|
|
|
with PostgreSQL 8.4 and later.")
|
|
|
|
(home-page "https://bitbucket.org/ged/ruby-pg")
|
|
|
|
(license license:ruby)))
|
2015-09-04 21:09:30 +02:00
|
|
|
|
|
|
|
(define-public ruby-byebug
|
|
|
|
(package
|
|
|
|
(name "ruby-byebug")
|
|
|
|
(version "6.0.2")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (rubygems-uri "byebug" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0537h9qbhr6csahmzyn4lk1g5b2lcligbzd21gfy93nx9lbfdnzc"))))
|
|
|
|
(build-system ruby-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:tests? #f)) ; no tests
|
|
|
|
(synopsis "Debugger for Ruby 2")
|
|
|
|
(description "Byebug is a Ruby 2 debugger implemented using the Ruby 2
|
|
|
|
TracePoint C API for execution control and the Debug Inspector C API for call
|
|
|
|
stack navigation. The core component provides support that front-ends can
|
|
|
|
build on. It provides breakpoint handling and bindings for stack frames among
|
|
|
|
other things and it comes with a command line interface.")
|
|
|
|
(home-page "http://github.com/deivid-rodriguez/byebug")
|
|
|
|
(license license:bsd-2)))
|
2015-09-04 22:47:52 +02:00
|
|
|
|
|
|
|
(define-public ruby-rack
|
|
|
|
(package
|
|
|
|
(name "ruby-rack")
|
|
|
|
(version "1.6.4")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (rubygems-uri "rack" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"09bs295yq6csjnkzj7ncj50i6chfxrhmzg1pk6p0vd2lb9ac8pj5"))))
|
|
|
|
(build-system ruby-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-before 'check 'fix-tests
|
|
|
|
(lambda _
|
|
|
|
;; A few of the tests use the length of a file on disk for
|
|
|
|
;; Content-Length and Content-Range headers. However, this file
|
|
|
|
;; has a shebang in it which an earlier phase patches, growing
|
|
|
|
;; the file size from 193 to 239 bytes when the store prefix is
|
|
|
|
;; "/gnu/store".
|
|
|
|
(let ((size-diff (- (string-length (which "ruby"))
|
|
|
|
(string-length "/usr/bin/env ruby"))))
|
|
|
|
(substitute* '("test/spec_file.rb")
|
|
|
|
(("193")
|
|
|
|
(number->string (+ 193 size-diff)))
|
|
|
|
(("bytes(.)22-33" all delimiter)
|
|
|
|
(string-append "bytes"
|
|
|
|
delimiter
|
|
|
|
(number->string (+ 22 size-diff))
|
|
|
|
"-"
|
|
|
|
(number->string (+ 33 size-diff))))))
|
|
|
|
#t)))))
|
|
|
|
(native-inputs
|
|
|
|
`(("ruby-bacon" ,ruby-bacon)))
|
|
|
|
(synopsis "Unified web application interface for Ruby")
|
|
|
|
(description "Rack provides a minimal, modular and adaptable interface for
|
|
|
|
developing web applications in Ruby. By wrapping HTTP requests and responses,
|
|
|
|
it unifies the API for web servers, web frameworks, and software in between
|
|
|
|
into a single method call.")
|
|
|
|
(home-page "http://rack.github.io/")
|
|
|
|
(license license:expat)))
|
2015-09-15 16:48:35 +02:00
|
|
|
|
2015-09-16 06:06:40 +02:00
|
|
|
(define-public ruby-docile
|
|
|
|
(package
|
|
|
|
(name "ruby-docile")
|
|
|
|
(version "1.1.5")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (rubygems-uri "docile" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0m8j31whq7bm5ljgmsrlfkiqvacrw6iz9wq10r3gwrv5785y8gjx"))))
|
|
|
|
(build-system ruby-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:tests? #f)) ; needs github-markup, among others
|
|
|
|
(synopsis "Ruby EDSL helper library")
|
|
|
|
(description "Docile is a Ruby library that provides an interface for
|
|
|
|
creating embedded domain specific languages (EDSLs) that manipulate existing
|
|
|
|
Ruby classes.")
|
|
|
|
(home-page "https://ms-ati.github.io/docile/")
|
|
|
|
(license license:expat)))
|
|
|
|
|
2015-09-15 16:48:35 +02:00
|
|
|
(define-public ruby-gherkin3
|
|
|
|
(package
|
|
|
|
(name "ruby-gherkin3")
|
|
|
|
(version "3.1.1")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (rubygems-uri "gherkin3" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0xsyxhqa1gwcxzvsdy4didaiq5vam8ma3fbwbw2w60via4k6r1z9"))))
|
|
|
|
(build-system ruby-build-system)
|
|
|
|
(native-inputs
|
|
|
|
`(("bundler" ,bundler)))
|
|
|
|
(arguments
|
|
|
|
'(#:tests? #f)) ; needs simplecov, among others
|
|
|
|
(synopsis "Gherkin parser for Ruby")
|
|
|
|
(description "Gherkin 3 is a parser and compiler for the Gherkin language.
|
|
|
|
It is intended to replace Gherkin 2 and be used by all Cucumber
|
|
|
|
implementations to parse '.feature' files.")
|
|
|
|
(home-page "https://github.com/cucumber/gherkin3")
|
|
|
|
(license license:expat)))
|
2015-09-16 05:03:48 +02:00
|
|
|
|
|
|
|
(define-public ruby-cucumber-core
|
|
|
|
(package
|
|
|
|
(name "ruby-cucumber-core")
|
|
|
|
(version "1.3.0")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (rubygems-uri "cucumber-core" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"12mrzf0s96izpq0k10lahlkgwc4fjs0zfs344rh8r8h3w3jyppr8"))))
|
|
|
|
(build-system ruby-build-system)
|
|
|
|
(propagated-inputs
|
|
|
|
`(("ruby-gherkin3" ,ruby-gherkin3)))
|
|
|
|
(native-inputs
|
|
|
|
`(("bundler" ,bundler)))
|
|
|
|
(arguments
|
|
|
|
'(#:tests? #f)) ; needs simplecov, among others
|
|
|
|
(synopsis "Core library for the Cucumber BDD app")
|
|
|
|
(description "Cucumber is a tool for running automated tests
|
|
|
|
written in plain language. Because they're written in plain language,
|
|
|
|
they can be read by anyone on your team. Because they can be read by
|
|
|
|
anyone, you can use them to help improve communication, collaboration
|
|
|
|
and trust on your team.")
|
|
|
|
(home-page "https://cucumber.io/")
|
|
|
|
(license license:expat)))
|
2015-09-16 08:06:26 +02:00
|
|
|
|
|
|
|
(define-public ruby-bio-logger
|
|
|
|
(package
|
|
|
|
(name "ruby-bio-logger")
|
|
|
|
(version "1.0.1")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (rubygems-uri "bio-logger" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"02pylfy8nkdqzyzplvnhn1crzmfkj1zmi3qjhrj2f2imlxvycd28"))))
|
|
|
|
(build-system ruby-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:tests? #f)) ; rake errors, missing shoulda
|
|
|
|
(propagated-inputs
|
|
|
|
`(("ruby-log4r" ,ruby-log4r)))
|
|
|
|
(synopsis "Log4r wrapper for Ruby")
|
|
|
|
(description "Bio-logger is a wrapper around Log4r adding extra logging
|
|
|
|
features such as filtering and fine grained logging.")
|
|
|
|
(home-page "https://github.com/pjotrp/bioruby-logger-plugin")
|
|
|
|
(license license:expat)))
|
2015-10-07 10:57:24 +02:00
|
|
|
|
|
|
|
(define-public ruby-yard
|
|
|
|
(package
|
|
|
|
(name "ruby-yard")
|
|
|
|
(version "0.8.7.6")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (rubygems-uri "yard" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1dj6ibc0qqvmb5a5r5kk0vhr04mnrz9b26gnfrs5p8jgp620i89x"))))
|
|
|
|
(build-system ruby-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:test-target "specs"
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-before 'check 'set-HOME
|
|
|
|
;; $HOME needs to be set to somewhere writeable for tests to run
|
|
|
|
(lambda _ (setenv "HOME" "/tmp") #t)))))
|
|
|
|
(native-inputs
|
|
|
|
`(("ruby-rspec" ,ruby-rspec-2)
|
|
|
|
("ruby-rack" ,ruby-rack)))
|
|
|
|
(synopsis "Documentation generation tool for Ruby")
|
|
|
|
(description
|
|
|
|
"YARD is a documentation generation tool for the Ruby programming
|
|
|
|
language. It enables the user to generate consistent, usable documentation
|
|
|
|
that can be exported to a number of formats very easily, and also supports
|
|
|
|
extending for custom Ruby constructs such as custom class level definitions.")
|
|
|
|
(home-page "http://yardoc.org")
|
|
|
|
(license license:expat)))
|