[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/05: gnu: Add python-sql.
From: |
Arun Isaac |
Subject: |
01/05: gnu: Add python-sql. |
Date: |
Sat, 27 May 2017 10:18:21 -0400 (EDT) |
arunisaac pushed a commit to branch master
in repository guix.
commit ad2ef260738982aa3493f1c54aa06aad8a827eea
Author: Adriano Peluso <address@hidden>
Date: Tue Mar 28 12:25:06 2017 +0200
gnu: Add python-sql.
* gnu/packages/python.scm (python-sql, python2-sql): New variables.
Signed-off-by: Arun Isaac <address@hidden>
---
gnu/packages/python.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index b958199..174ebfc 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -14804,3 +14804,24 @@ information.")
(define-public python2-packaging
(package-with-python2 python-packaging))
+
+(define-public python-sql
+ (package
+ (name "python-sql")
+ (version "0.9")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "python-sql" version))
+ (sha256
+ (base32
+ "0p6kaqj02vz0habmdx37zjk6hjxdfm8aw737zs059vvpr70ird87"))))
+ (build-system python-build-system)
+ (home-page "https://python-sql.tryton.org/")
+ (synopsis "Library to write SQL queries in a pythonic way")
+ (description "@code{python-sql} is a library to write SQL queries, that
+transforms idiomatic python function calls to well-formed SQL queries.")
+ (license license:bsd-3)))
+
+(define-public python2-sql
+ (package-with-python2 python-sql))