diff options
author | Ben Woodcroft <donttrustben@gmail.com> | 2018-02-05 12:00:55 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-03-18 22:16:03 +0000 |
commit | a2842cd6cf1781fc538524abdf755e2b9aa58a42 (patch) | |
tree | 740edf975c536b6090b9cae9f2c536616a30fca4 /gnu/packages/ruby.scm | |
parent | 2d7f77d4164a45fc51d797cc055229e76e713e6b (diff) | |
download | guix-a2842cd6cf1781fc538524abdf755e2b9aa58a42.tar guix-a2842cd6cf1781fc538524abdf755e2b9aa58a42.tar.gz |
gnu: Add ruby-redjs.
Diffstat (limited to 'gnu/packages/ruby.scm')
-rw-r--r-- | gnu/packages/ruby.scm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 86b167e67e..f828a869fb 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -7363,3 +7363,35 @@ https://github.com/flavorjones/loofah-activerecord).") "A Ruby implementation of the Coveralls API.") (home-page "https://coveralls.io") (license license:expat))) + +(define-public ruby-redjs + ;; There are no releases on rubygems and the last git commit was in 2012, so + ;; we package that. + (let ((commit "0d844f066666f967a78b20beb164c52d9ac3f5ca")) + (package + (name "ruby-redjs") + (version (string-append "0.4.6-1." (string-take commit 8))) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/cowboyd/redjs.git") + (commit commit))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "0cl3543xnzfn5qvlwjl2g1gg0jm6mfa75ag9qh89pfay7b0mxz7i")))) + (build-system ruby-build-system) + (arguments + `(#:tests? #f ; There are no tests. + #:phases + (modify-phases %standard-phases + (replace 'replace-git-ls-files + (lambda _ + (substitute* "redjs.gemspec" + (("git ls-files") "find . -type f |sort")) + #t))))) + (synopsis "") + (description + "") + (home-page "") + (license license:expat)))) ;? |