aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorBen Woodcroft <donttrustben@gmail.com>2018-02-05 12:01:07 +0100
committerChristopher Baines <mail@cbaines.net>2018-12-31 09:46:23 +0000
commit8df9cfa680481d4fc705463eb3170797ffde1e7a (patch)
tree12aa8e9217d8ee1e42c846fc033a541156e82078 /gnu
parent3cd54858cb94410ff6e9268ba53e485b5b93fb6f (diff)
downloadgnu-guix-8df9cfa680481d4fc705463eb3170797ffde1e7a.tar
gnu-guix-8df9cfa680481d4fc705463eb3170797ffde1e7a.tar.gz
gnu: Add ruby-rubygems.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/ruby.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index e37adcf90f..4de2962893 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -8044,3 +8044,33 @@ but it can function as a stand-alone templating engine.")
(home-page
"https://github.com/jeremyevans/erubi")
(license license:expat)))
+
+(define-public ruby-rubygems
+ (package
+ (name "ruby-rubygems")
+ (version (string-append "2.6.6"))
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://rubygems.org/rubygems/rubygems-"
+ version ".tgz"))
+ (sha256
+ (base32
+ "0x0ldlwr627d0brw96jdbscib6d2nk19izvnh8lzsasszi1k5rkq"))))
+ (build-system ruby-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'build
+ (lambda* (#:key outputs #:allow-other-keys)
+ (zero? (system*
+ "ruby" "setup.rb"
+ (string-append
+ "--prefix=" (assoc-ref outputs "out"))))))
+ (delete 'check) ; fix
+ (delete 'install) ; done in build
+ )))
+ (synopsis "")
+ (description
+ "")
+ (home-page "")
+ (license license:expat))) ;?