aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-04-01 14:04:37 -0500
committerEric Bavier <bavier@member.fsf.org>2015-04-02 10:40:34 -0500
commitc16a204a7a946a33f4e5eaa79126b9e9debd8dfd (patch)
tree10cd1351d9f81408f30831480d0b6313a2c7fcec
parent9473af1d2c5867f6060594c863b8a6e22ccd77a4 (diff)
downloadguix-c16a204a7a946a33f4e5eaa79126b9e9debd8dfd.tar
guix-c16a204a7a946a33f4e5eaa79126b9e9debd8dfd.tar.gz
gnu: Add Class-Singleton.
* gnu/packages/perl.scm (perl-class-singleton): New variable.
-rw-r--r--gnu/packages/perl.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 9d41d88d26..e3e18b10b3 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -649,6 +649,26 @@ place of the original method, with a hook to easily call that original
method.")
(license (package-license perl))))
+(define-public perl-class-singleton
+ (package
+ (name "perl-class-singleton")
+ (version "1.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/S/SH/SHAY/"
+ "Class-Singleton-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0y7ngrjf551bjgmijp5rsidbkq6c8hb5lmy2jcqq0fify020s8iq"))))
+ (build-system perl-build-system)
+ (home-page "http://search.cpan.org/dist/Class-Singleton")
+ (synopsis "Implementation of a singleton class for Perl")
+ (description "This module implements a Singleton class from which other
+classes can be derived. By itself, the Class::Singleton module does very
+little other than manage the instantiation of a single object.")
+ (license (package-license perl))))
+
(define-public perl-class-tiny
(package
(name "perl-class-tiny")