mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 14:28:15 -05:00
gnu: Add python-pyodbc.
* gnu/packages/databases.scm (python-pyodbc, python2-pyodbc): New variables.
This commit is contained in:
parent
bd7e136d29
commit
41916bea1b
1 changed files with 27 additions and 0 deletions
|
@ -1764,6 +1764,33 @@ (define-public python-pyodbc-c
|
|||
(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")
|
||||
|
|
Loading…
Reference in a new issue