diff options
author | Marius Bakke <mbakke@fastmail.com> | 2020-05-20 10:21:47 +0200 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2020-05-20 23:51:24 +0200 |
commit | 72c785f95914c6a06bce4df5d180d129f06adae8 (patch) | |
tree | febec601c8105af7d8a70df654b0bee378c3a63c /gnu | |
parent | bbac3fff1dbec130479c7eb9a0600bd3d1d1a9c2 (diff) | |
download | patches-72c785f95914c6a06bce4df5d180d129f06adae8.tar patches-72c785f95914c6a06bce4df5d180d129f06adae8.tar.gz |
gnu: Add ruby-deep-merge.
* gnu/packages/ruby.scm (ruby-deep-merge): New public variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/ruby.scm | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 4ce42f90bf..adc5753fb4 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -3502,6 +3502,28 @@ URIs using the normal URI.parse method.") (home-page "https://github.com/dball/data_uri") (license license:expat))) +(define-public ruby-deep-merge + (package + (name "ruby-deep-merge") + (version "1.2.1") + (home-page "https://github.com/danielsdeleo/deep_merge") + ;; The Rubygem source does not contain the gemspec required for tests. + (source (origin + (method git-fetch) + (uri (git-reference (url home-page) (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0c9rk23ilhc0n4489y6lda2wzphpzh6ish6fahlbpjhxn82wb931")))) + (build-system ruby-build-system) + (native-inputs + `(("ruby-minitest" ,ruby-minitest))) + (synopsis "Recursively merge hashes") + (description + "Deep Merge is a set of utility functions for @code{Hash}. It permits +you to merge elements inside a hash together recursively.") + (license license:expat))) + (define-public ruby-git (package (name "ruby-git") |