[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/17: gnu: Add perl-sql-abstract-classic.
From: |
guix-commits |
Subject: |
13/17: gnu: Add perl-sql-abstract-classic. |
Date: |
Mon, 29 Jun 2020 10:46:37 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 5d01aeba9499ec0439ccfcbcac969899c5c05711
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Mon Jun 29 13:40:17 2020 +0200
gnu: Add perl-sql-abstract-classic.
* gnu/packages/databases.scm (perl-sql-abstract-classic): New public
variable.
---
gnu/packages/databases.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index e2eb0f3..353cd98 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -1782,6 +1782,42 @@ structures you provide it, so that you don't have to
modify your code every
time your data changes.")
(license license:perl-license)))
+(define-public perl-sql-abstract-classic
+ (package
+ (name "perl-sql-abstract-classic")
+ (version "1.91")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/R/RI/RIBASUSHI/"
+ "SQL-Abstract-Classic-" version ".tar.gz"))
+ (sha256
+ (base32 "0a7g13hs3kdxrjn43sfli09mgsi9d6w0dfw6hlk268av17yisgaf"))))
+ (build-system perl-build-system)
+ (native-inputs
+ `(("perl-test-deep" ,perl-test-deep)
+ ("perl-test-exception" ,perl-test-exception)
+ ("perl-test-warn" ,perl-test-warn)))
+ (propagated-inputs
+ `(("perl-mro-compat" ,perl-mro-compat)
+ ("perl-sql-abstract" ,perl-sql-abstract)))
+ (home-page "https://metacpan.org/release/SQL-Abstract-Classic")
+ (synopsis "Generate SQL from Perl data structures")
+ (description
+ "This module is nearly identical to @code{SQL::Abstract} 1.81, and exists
+to preserve the ability of users to opt into the new way of doing things in
+later versions according to their own schedules.
+
+It is an abstract SQL generation module based on the concepts used by
+@code{DBIx::Abstract}, with several important differences, especially when it
+comes to @code{WHERE} clauses. These concepts were modified to make the SQL
+easier to generate from Perl data structures.
+
+The underlying idea is for this module to do what you mean, based on the data
+structures you provide it. You shouldn't have to modify your code every time
+your data changes, as this module figures it out.")
+ (license license:perl-license)))
+
(define-public perl-sql-splitstatement
(package
(name "perl-sql-splitstatement")
- 10/17: gnu: sparse: Update to 0.6.2., (continued)
- 10/17: gnu: sparse: Update to 0.6.2., guix-commits, 2020/06/29
- 11/17: gnu: python-coverage: Update home page., guix-commits, 2020/06/29
- 12/17: gnu: rust-x11-dl: Update to 2.18.5., guix-commits, 2020/06/29
- 03/17: gnu: xxhash: Cross-compile., guix-commits, 2020/06/29
- 14/17: gnu: perl-dbix-class: Update to 0.082842., guix-commits, 2020/06/29
- 07/17: gnu: ansible: Update to 2.9.10., guix-commits, 2020/06/29
- 09/17: gnu: ccache: Update to 3.7.10., guix-commits, 2020/06/29
- 15/17: gnu: mariadb-connector-c: Update to 3.1.9., guix-commits, 2020/06/29
- 16/17: gnu: marisa: Update to 0.2.6., guix-commits, 2020/06/29
- 17/17: gnu: marisa: Mark up description., guix-commits, 2020/06/29
- 13/17: gnu: Add perl-sql-abstract-classic.,
guix-commits <=