aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-13 09:59:29 -0500
committerEric Bavier <bavier@member.fsf.org>2015-03-13 13:52:15 -0500
commit2793480ed00657d6b53780f5b9cfedf2b979b5fe (patch)
treee44fa89658eafdefa2b20d60f9b12373665b0129 /gnu
parentf8bde42f24ed0063fbb3b3e5decb57fcb3d903f6 (diff)
downloadgnu-guix-2793480ed00657d6b53780f5b9cfedf2b979b5fe.tar
gnu-guix-2793480ed00657d6b53780f5b9cfedf2b979b5fe.tar.gz
gnu: Add Hash-Merge.
* gnu/packages/perl.scm (perl-hash-merge): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/perl.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 8e293c05bf..714fc0598e 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -1424,6 +1424,29 @@ vaguely inspired by John Ousterhout's Tk_ParseArgv.")
"Getopt-Tabular-" version))
(license (package-license perl))))
+(define-public perl-hash-merge
+ (package
+ (name "perl-hash-merge")
+ (version "0.200")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/R/RE/REHSACK/"
+ "Hash-Merge-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0r1a2axz85wn6573zrl9rk8mkfl2cvf1gp9vwya5qndp60rz1ya7"))))
+ (build-system perl-build-system)
+ (home-page "http://search.cpan.org/dist/Hash-Merge")
+ (synopsis "Merge arbitrarily deep hashes into a single hash")
+ (description "Hash::Merge merges two arbitrarily deep hashes into a single
+hash. That is, at any level, it will add non-conflicting key-value pairs from
+one hash to the other, and follows a set of specific rules when there are key
+value conflicts. The hash is followed recursively, so that deeply nested
+hashes that are at the same level will be merged when the parent hashes are
+merged.")
+ (license (package-license perl))))
+
(define-public perl-hash-multivalue
(package
(name "perl-hash-multivalue")