aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2017-10-10 20:09:18 +0100
committerChristopher Baines <mail@cbaines.net>2018-03-03 12:51:26 +0000
commitb03eb6acb45cf6c0672e309204f5a92ce5fd88ce (patch)
tree0b2b02c5a4d47b787b77bd5f5b8b8b0c37089c25
parentd0afff263c546fa7ef132b09ef04af7d178cd2ae (diff)
downloadguix-b03eb6acb45cf6c0672e309204f5a92ce5fd88ce.tar
guix-b03eb6acb45cf6c0672e309204f5a92ce5fd88ce.tar.gz
gnu: Add ruby-data_uri.
* gnu/packages/ruby.scm (ruby-data_uri): New variable.
-rw-r--r--gnu/packages/ruby.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index f94ac54001..47cb8eea8c 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1965,6 +1965,26 @@ run as a daemon and to be controlled by simple start/stop/restart commands.")
(home-page "https://github.com/thuehlinger/daemons")
(license license:expat)))
+(define-public ruby-data_uri
+ (package
+ (name "ruby-data_uri")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "data_uri" version))
+ (sha256
+ (base32
+ "0fzkxgdxrlbfl4537y3n9mjxbm28kir639gcw3x47ffchwsgdcky"))))
+ (build-system ruby-build-system)
+ (synopsis "URI class for parsing data URIs")
+ (description
+ "Data @acronym{URI, universal resource idenfitier}s allow resources to be
+embedded inside a URI. The URI::Data class provides support for parsing these
+URIs using the normal URI.parse method.")
+ (home-page "https://github.com/dball/data_uri")
+ (license license:expat)))
+
(define-public ruby-git
(package
(name "ruby-git")