2014-09-27 08:56:44 -04:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
|
|
|
;;; Copyright © 2014 Pjotr Prins <pjotr.guix@thebird.nl>
|
|
|
|
;;; 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 12:23:27 -05:00
|
|
|
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
|
2014-11-15 11:26:23 -05:00
|
|
|
;;; Copyright © 2014 David Thompson <davet@gnu.org>
|
2015-08-28 11:24:45 -04:00
|
|
|
;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
|
2014-09-27 08:56:44 -04: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)
|
|
|
|
#:use-module (gnu packages readline)
|
|
|
|
#:use-module (gnu packages autotools)
|
2015-08-28 11:25:42 -04:00
|
|
|
#:use-module (gnu packages java)
|
2014-09-27 08:56:44 -04: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 12:27:24 -04:00
|
|
|
#:use-module (gnu packages tls)
|
2015-06-13 07:46:02 -04:00
|
|
|
#:use-module (gnu packages version-control)
|
2014-09-27 08:56:44 -04:00
|
|
|
#:use-module (guix packages)
|
|
|
|
#:use-module (guix download)
|
2015-02-23 18:22:31 -05:00
|
|
|
#:use-module (guix git-download)
|
2014-09-27 08:56:44 -04:00
|
|
|
#:use-module (guix utils)
|
2014-09-28 11:16:09 -04:00
|
|
|
#:use-module (guix build-system gnu)
|
2015-08-29 08:35:54 -04:00
|
|
|
#:use-module (gnu packages xml)
|
2014-09-28 11:16:09 -04:00
|
|
|
#:use-module (guix build-system ruby))
|
2014-09-27 08:56:44 -04:00
|
|
|
|
|
|
|
(define-public ruby
|
|
|
|
(package
|
|
|
|
(name "ruby")
|
2015-08-19 02:56:08 -04:00
|
|
|
(version "2.2.3")
|
2014-09-27 08:56:44 -04:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2014-10-27 02:34:26 -04:00
|
|
|
(uri (string-append "http://cache.ruby-lang.org/pub/ruby/"
|
|
|
|
(version-major+minor version)
|
2014-10-31 18:57:30 -04:00
|
|
|
"/ruby-" version ".tar.xz"))
|
2014-09-27 08:56:44 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2015-08-19 02:56:08 -04:00
|
|
|
"19x8gs67klgc3ag815jpin83jn2nv1akgjcgayd6v3h1xplr1v66"))))
|
2014-09-27 08:56:44 -04:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:test-target "test"
|
|
|
|
#:parallel-tests? #f
|
|
|
|
#:phases
|
2014-10-31 18:57:30 -04:00
|
|
|
(alist-cons-before
|
|
|
|
'configure 'replace-bin-sh
|
2014-09-27 08:56:44 -04:00
|
|
|
(lambda _
|
2014-10-31 18:57:30 -04: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 08:56:44 -04: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 17:22:08 -05:00
|
|
|
(files (list (string-append "lib/ruby/gems/"
|
|
|
|
(version-major+minor version)
|
|
|
|
".0"))))))
|
2014-10-27 02:34:26 -04:00
|
|
|
(synopsis "Programming language interpreter")
|
2014-09-27 08:56:44 -04: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 07:22:10 -04: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 01:30:09 -04:00
|
|
|
(define-public ruby-1.8
|
|
|
|
(package (inherit ruby)
|
|
|
|
(version "1.8.7-p374")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2014-10-27 02:34:26 -04:00
|
|
|
(uri (string-append "http://cache.ruby-lang.org/pub/ruby/"
|
|
|
|
(version-major+minor version)
|
|
|
|
"/ruby-" version ".tar.bz2"))
|
2014-10-27 01:30:09 -04: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-23 18:22:31 -05: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-26 22:01:54 -04:00
|
|
|
(method url-fetch)
|
|
|
|
(uri (rubygems-uri "hoe" version))
|
2015-02-23 18:22:31 -05: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-26 22:01:54 -04:00
|
|
|
"1mac13krdrasn9819dd65xj27kklfy0xdbj3p6s2ij4vlcb46h8q"))) )
|
2015-02-23 18:22:31 -05: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 09:00:09 -04: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-26 22:01:54 -04:00
|
|
|
(uri (rubygems-uri "rake-compiler" version))
|
2015-07-04 09:00:09 -04: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-26 22:01:54 -04:00
|
|
|
"1k8im2vzj849xdgjk6wafspkiwwapqwm738majchb4dnhnsk64cx"))))
|
2015-07-04 09:00:09 -04: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-26 22:01:54 -04:00
|
|
|
'(#:tests? #f)) ; needs cucumber
|
2015-07-04 09:00:09 -04: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 08:16:07 -04:00
|
|
|
(description "Rake-compiler provides a framework for building and
|
2015-07-04 09:00:09 -04:00
|
|
|
packaging native C and Java extensions in Ruby.")
|
|
|
|
(home-page "https://github.com/rake-compiler/rake-compiler")
|
|
|
|
(license license:expat)))
|
|
|
|
|
2014-09-28 11:16:09 -04:00
|
|
|
(define-public ruby-i18n
|
|
|
|
(package
|
|
|
|
(name "ruby-i18n")
|
2015-08-29 17:29:03 -04:00
|
|
|
(version "0.7.0")
|
2014-09-28 11:16:09 -04: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-26 22:01:54 -04:00
|
|
|
(uri (rubygems-uri "i18n" version))
|
2014-09-28 11:16:09 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2015-08-29 17:29:03 -04:00
|
|
|
"1i5z1ykl8zhszsxcs8mzl8d0dxgs3ylz8qlzrw74jb0gplkx6758"))))
|
2014-09-28 11:16:09 -04:00
|
|
|
(build-system ruby-build-system)
|
|
|
|
(arguments
|
2015-08-29 17:29:03 -04:00
|
|
|
'(#:tests? #f)) ; no tests
|
2014-09-28 11:16:09 -04: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-27 21:33:17 -04: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-26 22:01:54 -04:00
|
|
|
(uri (rubygems-uri "rspec-support" version))
|
2015-05-27 21:33:17 -04: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-26 22:01:54 -04:00
|
|
|
"194zry5195ls2hni7r9824vqb5d3qfg4jb15fgj8glfy0rvw3zxl"))))
|
2015-05-27 21:33:17 -04: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-26 22:01:54 -04:00
|
|
|
(uri (rubygems-uri "rspec-core" version))
|
2015-05-27 21:33:17 -04: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-26 22:01:54 -04:00
|
|
|
"0k2471iw30gc2cvv67damrx666pmsvx8l0ahk3hm20dhfnmcmpvv"))))
|
2015-05-27 21:33:17 -04: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-27 21:34:47 -04:00
|
|
|
|
2015-08-29 22:08:20 -04:00
|
|
|
(define-public ruby-diff-lcs
|
2015-05-27 21:34:47 -04: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-26 22:01:54 -04:00
|
|
|
(uri (rubygems-uri "diff-lcs" version))
|
2015-05-27 21:34:47 -04: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-26 22:01:54 -04:00
|
|
|
"1vf9civd41bnqi6brr5d9jifdw73j9khc6fkhfl1f8r9cpkdvlx1"))))
|
2015-05-27 21:34:47 -04: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-26 22:01:54 -04:00
|
|
|
(uri (rubygems-uri "rspec-expectations" version))
|
2015-05-27 21:34:47 -04: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-26 22:01:54 -04:00
|
|
|
"01kmchabgpdcaqdsqg8r0g5gy385xhp1k1jsds3w264ypin17n14"))))
|
2015-05-27 21:34:47 -04:00
|
|
|
(build-system ruby-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:tests? #f)) ; avoid dependency cycles
|
|
|
|
(propagated-inputs
|
|
|
|
`(("ruby-rspec-support" ,ruby-rspec-support)
|
2015-08-29 22:08:20 -04: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 08:16:07 -04:00
|
|
|
(synopsis "RSpec expectations library")
|
2015-05-27 21:34:47 -04: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-27 21:35:43 -04: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-26 22:01:54 -04:00
|
|
|
(uri (rubygems-uri "rspec-mocks" version))
|
2015-05-27 21:35:43 -04: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-26 22:01:54 -04:00
|
|
|
"09yig1lwgxl8fsns71z3xhv7wkg7zvagydh37pvaqpw92dz55jv2"))))
|
2015-05-27 21:35:43 -04:00
|
|
|
(build-system ruby-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:tests? #f)) ; avoid dependency cycles
|
|
|
|
(propagated-inputs
|
|
|
|
`(("ruby-rspec-support" ,ruby-rspec-support)
|
2015-08-29 22:08:20 -04:00
|
|
|
("ruby-diff-lcs" ,ruby-diff-lcs)))
|
2015-05-27 21:35:43 -04: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-27 21:36:24 -04: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-26 22:01:54 -04:00
|
|
|
(uri (rubygems-uri "rspec" version))
|
2015-05-27 21:36:24 -04: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-26 22:01:54 -04:00
|
|
|
"0lkz01j4yxcwb3g5w6r1l9khnyw3sxib4rrh4npd2pxh390fcc4f"))))
|
2015-05-27 21:36:24 -04: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-27 21:37:06 -04: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 07:45:28 -04:00
|
|
|
(version "1.10.6")
|
2015-05-27 21:37:06 -04: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-26 22:01:54 -04:00
|
|
|
(uri (rubygems-uri "bundler" version))
|
2015-05-27 21:37:06 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2015-09-03 07:45:28 -04:00
|
|
|
"1vlzfq0bkkj4jyq6av0y55mh5nj5n0f3mfbmmifwgkh44g8k6agv"))))
|
2015-05-27 21:37:06 -04: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-27 21:38:28 -04:00
|
|
|
|
2015-08-28 11:24:45 -04: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 11:25:42 -04: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-08-28 11:26:07 -04: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 11:26:35 -04: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-08-28 11:21:48 -04: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 11:22:28 -04: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-05-27 21:38:28 -04: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-26 22:01:54 -04:00
|
|
|
(uri (rubygems-uri "useragent" version))
|
2015-05-27 21:38:28 -04: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-26 22:01:54 -04:00
|
|
|
"0kz7yyz7528bv4a2kfymvkcm8whqcddhmgaw1ksw1d90n30hhkpc"))))
|
2015-05-27 21:38:28 -04: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-26 22:01:54 -04:00
|
|
|
'(#:tests? #f)) ; no test suite
|
2015-05-27 21:38:28 -04: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 08:48:02 -04: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-26 22:01:54 -04:00
|
|
|
(version "1.2.0")
|
2015-06-05 08:48:02 -04: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-26 22:01:54 -04:00
|
|
|
(uri (rubygems-uri "bacon" version))
|
2015-06-05 08:48:02 -04: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-26 22:01:54 -04:00
|
|
|
"1f06gdj77bmwzc1k5iragl1595hbn67yc7sqvs56ca8plrr2vmai"))))
|
2015-06-05 08:48:02 -04: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 12:06:58 -04: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-26 22:01:54 -04:00
|
|
|
(uri (rubygems-uri "arel" version))
|
2015-06-05 12:06:58 -04: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-26 22:01:54 -04:00
|
|
|
"18wnfnzr2i5p3fygsddjbi1cimws6823nbk8drxidmnj8jz7h0ar"))))
|
2015-06-05 12:06:58 -04: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-26 22:01:54 -04:00
|
|
|
(arguments
|
|
|
|
'(#:tests? #f)) ; no test suite
|
2015-06-05 12:06:58 -04: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 16:35:21 -04: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-26 22:01:54 -04:00
|
|
|
(uri (rubygems-uri "connection_pool" version))
|
2015-06-05 16:35:21 -04: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-26 22:01:54 -04:00
|
|
|
"1b2bb3k39ni5mzcnqlv9y4yjkbin20s7dkwzp0jw2jf1rmzcgrmy"))))
|
2015-06-05 16:35:21 -04: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 16:50:24 -04: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-26 22:01:54 -04:00
|
|
|
(uri (rubygems-uri "net-http-persistent" version))
|
2015-06-05 16:50:24 -04: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-26 22:01:54 -04:00
|
|
|
"1y9fhaax0d9kkslyiqi1zys6cvpaqx9a0y0cywp24rpygwh4s9r4"))))
|
2015-06-05 16:50:24 -04: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-05 19:29:26 -04:00
|
|
|
|
2015-06-12 21:06:50 -04: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-26 22:01:54 -04:00
|
|
|
(method url-fetch)
|
|
|
|
(uri (rubygems-uri "minitest" version))
|
2015-06-12 21:06:50 -04: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-26 22:01:54 -04:00
|
|
|
"0rxqfakp629mp3vwda7zpgb57lcns5znkskikbfd0kriwv8i1vq8"))))
|
2015-06-12 21:06:50 -04: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-12 21:07:13 -04: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-26 22:01:54 -04:00
|
|
|
(method url-fetch)
|
|
|
|
(uri (rubygems-uri "minitest-sprint" version))
|
2015-06-12 21:07:13 -04: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-26 22:01:54 -04:00
|
|
|
"179d6pj56l9xzm46fqsqj10mzjkr1f9fv4cxa8wvchs97hqz33w1"))))
|
2015-06-12 21:07:13 -04: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-12 21:07:36 -04: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-26 22:01:54 -04:00
|
|
|
(method url-fetch)
|
|
|
|
(uri (rubygems-uri "minitest-bacon" version))
|
2015-06-12 21:07:36 -04: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-26 22:01:54 -04:00
|
|
|
"0cm7r68422743i3b6fm4rrm0r6cnnjmglq5gcmmgl1f0rk5hnf6r"))))
|
2015-06-12 21:07:36 -04: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-05 19:29:26 -04: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-26 22:01:54 -04:00
|
|
|
(uri (rubygems-uri "daemons" version))
|
2015-06-05 19:29:26 -04: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-26 22:01:54 -04:00
|
|
|
"121c7vkimg3baxga69xvdkwxiq8wkmxqvdbyqi5i82vhih5d3cn3"))))
|
2015-06-05 19:29:26 -04: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 07:46:02 -04: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-26 22:01:54 -04:00
|
|
|
(uri (rubygems-uri "git" version))
|
2015-06-13 07:46:02 -04: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-26 22:01:54 -04:00
|
|
|
"1sqfj8lmhl7c5zamcckkpik4izfph2zkv6krw0i8mzj5pdws5acs"))))
|
2015-06-13 07:46:02 -04: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-26 22:01:54 -04: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 07:46:02 -04: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-26 22:01:54 -04: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 07:46:02 -04: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-26 22:01:54 -04:00
|
|
|
#t))))))
|
2015-06-13 07:46:02 -04: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 07:53:23 -04: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-26 22:01:54 -04:00
|
|
|
(uri (rubygems-uri "slop" version))
|
2015-06-13 07:53:23 -04: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-26 22:01:54 -04:00
|
|
|
"0dj0ps6v1mqd02k84mgwd7hp578n2bzl7c51h3grdhxfl3jkfsj5"))))
|
2015-06-13 07:53:23 -04: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 08:06:12 -04:00
|
|
|
|
2015-09-06 09:00:55 -04: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 08:06:12 -04: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-26 22:01:54 -04:00
|
|
|
(uri (rubygems-uri "multipart-post" version))
|
2015-06-13 08:06:12 -04: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-26 22:01:54 -04:00
|
|
|
"09k0b3cybqilk1gwrwwain95rdypixb2q9w65gd44gfzsd84xi1x"))))
|
2015-06-13 08:06:12 -04: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-16 21:58:12 -04: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 08:32:32 -04: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 08:32:56 -04: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 08:35:54 -04: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-29 22:53:34 -04: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-29 22:54:05 -04: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-29 22:54:24 -04: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)))
|