diff options
author | Danny Milosavljevic <dannym@scratchpost.org> | 2017-01-26 19:27:06 +0100 |
---|---|---|
committer | Kei Kebreau <kei@openmailbox.org> | 2017-02-07 13:34:38 -0500 |
commit | 98d403bb4594c857729d64eaaafaf4a0ca51d7b3 (patch) | |
tree | e72880b2f9e85c96ffaf1825432f0eac6022aef4 | |
parent | 22a7abf7e53ccfa71dc03f06164f2c1761814354 (diff) | |
download | patches-98d403bb4594c857729d64eaaafaf4a0ca51d7b3.tar patches-98d403bb4594c857729d64eaaafaf4a0ca51d7b3.tar.gz |
gnu: Add python-pyodbc-c.
* gnu/packages/databases.scm (python-pyodbc-c, python2-pyodbc-c):
New variables.
Signed-off-by: Kei Kebreau <kei@openmailbox.org>
-rw-r--r-- | gnu/packages/databases.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 8972c283de..a358340baf 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -1404,3 +1404,31 @@ development.") ;; test/crypto.test are licensed under a 3-clause BSD license. All other ;; source files are in the public domain. (license (list license:public-domain license:bsd-3)))) + +(define-public python-pyodbc-c + (package + (name "python-pyodbc-c") + (version "3.1.2") + (source + (origin + (method url-fetch) + (uri (string-append "https://gitlab.com/daym/pyodbc-c/repository/" + "archive.tar.gz?ref=v" version)) + (sha256 + (base32 + "0nl11n3mgrcfnhimjqgv48rxqnb21l5m6s7p8ps2fa4nn4z6rzy0")) + (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-c} provides a Python DB-API driver +for ODBC.") + (license (license:x11-style "file://LICENSE.TXT")))) + +(define-public python2-pyodbc-c + (package-with-python2 python-pyodbc-c)) |