aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-04-07 17:17:13 -0500
committerEric Bavier <bavier@member.fsf.org>2015-04-19 19:48:52 -0500
commitb4dcb026d6e4def401d71f39b5e219130f521967 (patch)
tree3a2fa2543e7bb0272aecf8f2a30c7db27e1ce49e /gnu
parent718c89c1a1629f6e34770a5097f228b1de6798d7 (diff)
downloadguix-b4dcb026d6e4def401d71f39b5e219130f521967.tar
guix-b4dcb026d6e4def401d71f39b5e219130f521967.tar.gz
gnu: Add SQL-SplitStatement.
* gnu/packages/databases.scm (perl-sql-splitstatement): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/databases.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index fe87e23bec..9df4a14d26 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -621,6 +621,32 @@ structures you provide it, so that you don't have to modify your code every
time your data changes")
(license (package-license perl))))
+(define-public perl-sql-splitstatement
+ (package
+ (name "perl-sql-splitstatement")
+ (version "1.00020")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/E/EM/EMAZEP/"
+ "SQL-SplitStatement-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0bqg45k4c9qkb2ypynlwhpvzsl4ssfagmsalys18s5c79ps30z7p"))))
+ (build-system perl-build-system)
+ (native-inputs
+ `(("perl-test-exception" ,perl-test-exception)))
+ (propagated-inputs
+ `(("perl-class-accessor" ,perl-class-accessor)
+ ("perl-list-moreutils" ,perl-list-moreutils)
+ ("perl-regexp-common" ,perl-regexp-common)
+ ("perl-sql-tokenizer" ,perl-sql-tokenizer)))
+ (home-page "http://search.cpan.org/dist/SQL-SplitStatement")
+ (synopsis "Split SQL code into atomic statements")
+ (description "This module tries to split any SQL code, even including
+non-standard extensions, into the atomic statements it is composed of.")
+ (license (package-license perl))))
+
(define-public perl-sql-tokenizer
(package
(name "perl-sql-tokenizer")