summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2015-08-28 17:26:35 +0200
committerRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2015-08-31 17:01:33 +0200
commitcc53e63052f8bb4fd6ac92020fbe7e5af52939c5 (patch)
treef19393d2eed6efaf8433ab56e8536d3116fd530f
parent71a03c29bf2c4913b5591f3affdde65a75f54537 (diff)
downloadguix-cc53e63052f8bb4fd6ac92020fbe7e5af52939c5.tar.gz
gnu: Add ruby-orderedhash.
* gnu/packages/ruby.scm (ruby-orderedhash): 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 aaea81516e..2daf794b52 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -443,6 +443,26 @@ script.")
     (home-page "http://rubyforge.org/projects/antwrap/")
     (license license:expat)))
 
+(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)))
+
 (define-public ruby-useragent
   (package
     (name "ruby-useragent")