summaryrefslogtreecommitdiff
path: root/gnu/packages/databases.scm
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-04-07 17:16:16 -0500
committerEric Bavier <bavier@member.fsf.org>2015-04-19 19:48:52 -0500
commit718c89c1a1629f6e34770a5097f228b1de6798d7 (patch)
treeb05483efef1a979797fbbafb593eaffcfa24b0c1 /gnu/packages/databases.scm
parent8ce231287505dde4339258f3c93a5f409d843b76 (diff)
downloadpatches-718c89c1a1629f6e34770a5097f228b1de6798d7.tar
patches-718c89c1a1629f6e34770a5097f228b1de6798d7.tar.gz
gnu: Add SQL-Tokenizer.
* gnu/packages/databases.scm (perl-sql-tokenizer): New variable.
Diffstat (limited to 'gnu/packages/databases.scm')
-rw-r--r--gnu/packages/databases.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index ccb21fa70c..fe87e23bec 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -621,6 +621,26 @@ 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-tokenizer
+ (package
+ (name "perl-sql-tokenizer")
+ (version "0.24")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/I/IZ/IZUT/"
+ "SQL-Tokenizer-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1qa2dfbzdlr5qqdam9yn78z5w3al5r8577x06qan8wv58ay6ka7s"))))
+ (build-system perl-build-system)
+ (home-page "http://search.cpan.org/dist/SQL-Tokenizer")
+ (synopsis "SQL tokenizer")
+ (description "SQL::Tokenizer is a tokenizer for SQL queries. It does not
+claim to be a parser or query verifier. It just creates sane tokens from a
+valid SQL query.")
+ (license (package-license perl))))
+
(define-public unixodbc
(package
(name "unixodbc")