all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add python-pyodbc-c.
@ 2017-01-26  0:26 Danny Milosavljevic
  2017-01-26 16:55 ` ng0
  0 siblings, 1 reply; 7+ messages in thread
From: Danny Milosavljevic @ 2017-01-26  0:26 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/databases.scm (python-pyodbc-c, python2-pyodbc-c):
  New variables.
---
 gnu/packages/databases.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index e8be17980..fc576888d 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -1312,3 +1312,29 @@ 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
+     `(#:tests? #f ; no tests exist
+      ))
+    (home-page "https://github.com/mkleehammer/pyodbc")
+    (synopsis "Python ODBC Library")
+    (description "This package 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))

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-02-08 14:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-26  0:26 [PATCH] gnu: Add python-pyodbc-c Danny Milosavljevic
2017-01-26 16:55 ` ng0
2017-01-26 18:14   ` Marius Bakke
2017-01-26 18:21     ` Danny Milosavljevic
2017-01-26 18:33       ` Marius Bakke
2017-01-26 18:27     ` [PATCH v2] " Danny Milosavljevic
2017-02-07 18:36       ` Kei Kebreau

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.