gnu: Add SQL-SplitStatement.

* gnu/packages/databases.scm (perl-sql-splitstatement): New variable.
This commit is contained in:
Eric Bavier 2015-04-07 17:17:13 -05:00
parent 718c89c1a1
commit b4dcb026d6

View file

@ -621,6 +621,32 @@ (define-public perl-sql-abstract
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")