* [bug#29355] [PATCH] gnu: Add python-pyodbc.
@ 2017-11-19 7:47 Danny Milosavljevic
2017-11-20 9:34 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Danny Milosavljevic @ 2017-11-19 7:47 UTC (permalink / raw)
To: 29355
* gnu/packages/databases.scm (python-pyodbc, python2-pyodbc): New variables.
---
gnu/packages/databases.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index b1cb9ed2b..4c678dd32 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -1704,6 +1704,33 @@ for ODBC.")
(define-public python2-pyodbc-c
(package-with-python2 python-pyodbc-c))
+(define-public python-pyodbc
+ (package
+ (name "python-pyodbc")
+ (version "4.0.21")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pyodbc" version))
+ (sha256
+ (base32
+ "0a83zwz3h1agshnsc6r7al6q83222w8601gpzzzjvjz5m56ghmcn"))
+ (file-name (string-append name "-" version ".tar.gz"))))
+ (build-system python-build-system)
+ (inputs
+ `(("unixodbc" ,unixodbc)))
+ (arguments
+ `(;; No unit tests exist.
+ #:tests? #f))
+ (home-page "https://github.com/mkleehammer/pyodbc")
+ (synopsis "Python ODBC Library")
+ (description "@code{python-pyodbc} provides a Python DB-API driver
+for ODBC.")
+ (license (license:x11-style "file:///LICENSE.TXT"))))
+
+(define-public python2-pyodbc
+ (package-with-python2 python-pyodbc))
+
(define-public mdbtools
(package
(name "mdbtools")
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [bug#29355] [PATCH] gnu: Add python-pyodbc.
2017-11-19 7:47 [bug#29355] [PATCH] gnu: Add python-pyodbc Danny Milosavljevic
@ 2017-11-20 9:34 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2017-11-20 9:34 UTC (permalink / raw)
To: Danny Milosavljevic; +Cc: 29355
Danny Milosavljevic <dannym@scratchpost.org> skribis:
> * gnu/packages/databases.scm (python-pyodbc, python2-pyodbc): New variables.
LGTM, thanks!
Ludo'.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-11-20 9:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-19 7:47 [bug#29355] [PATCH] gnu: Add python-pyodbc Danny Milosavljevic
2017-11-20 9:34 ` Ludovic Courtès
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).