aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-18 09:53:56 -0500
committerEric Bavier <bavier@member.fsf.org>2015-03-19 16:43:31 -0500
commit4e4039e529fd3ece42ee5d9a0ce1578b34b514ae (patch)
tree0d520dac38c18e7e97714f1afb3f0364625545a4
parent97c821e030771b23ec8c120f664613aa4fb77ee3 (diff)
downloadpatches-4e4039e529fd3ece42ee5d9a0ce1578b34b514ae.tar
patches-4e4039e529fd3ece42ee5d9a0ce1578b34b514ae.tar.gz
gnu: Add DBIx-Class-Cursor-Cached.
* gnu/packages/databases.scm (perl-dbix-class-cursor-cached): New variable.
-rw-r--r--gnu/packages/databases.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index bd3d17fdc8..cbd170c850 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -359,6 +359,31 @@ single query, \"JOIN\", \"LEFT JOIN\", \"COUNT\", \"DISTINCT\", \"GROUP BY\",
\"ORDER BY\" and \"HAVING\" support.")
(license (package-license perl))))
+(define-public perl-dbix-class-cursor-cached
+ (package
+ (name "perl-dbix-class-cursor-cached")
+ (version "1.001002")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/A/AR/ARCANEZ/"
+ "DBIx-Class-Cursor-Cached-" version ".tar.gz"))
+ (sha256
+ (base32
+ "19r7jr6pknxiirrybq0cd0lnr76xiw05arnfqgk9nrhp6c7vvil0"))))
+ (build-system perl-build-system)
+ (native-inputs
+ `(("perl-cache-cache" ,perl-cache-cache)
+ ("perl-dbd-sqlite" ,perl-dbd-sqlite)))
+ (propagated-inputs
+ `(("perl-carp-clan" ,perl-carp-clan)
+ ("perl-dbix-class" ,perl-dbix-class)))
+ (home-page "http://search.cpan.org/dist/DBIx-Class-Cursor-Cached")
+ (synopsis "Cursor with built-in caching support")
+ (description "DBIx::Class::Cursor::Cached provides a cursor class with
+built-in caching support.")
+ (license (package-license perl))))
+
(define-public perl-dbix-class-introspectablem2m
(package
(name "perl-dbix-class-introspectablem2m")