diff options
author | Eric Bavier <bavier@member.fsf.org> | 2014-11-18 18:31:57 -0600 |
---|---|---|
committer | Eric Bavier <bavier@member.fsf.org> | 2014-12-02 08:35:06 -0600 |
commit | 94914805c2501928c0d23fc8632a36ad4036fb9c (patch) | |
tree | 838e4e85a865acfb739cfb8fab1caf1c83629077 /gnu | |
parent | b88e1b0a626aa434e3934732392140dc9e919dd6 (diff) | |
download | guix-94914805c2501928c0d23fc8632a36ad4036fb9c.tar.gz |
gnu: Add python-sqlalchemy.
* gnu/packages/python.scm (python-sqlalchemy, python2-sqlalchemy): New variables.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/python.scm | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index de60dca0a0..e8c80b2216 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -2192,3 +2192,38 @@ toolkits.") (inputs `(("python2-numpydoc" ,python2-numpydoc) ,@(alist-delete "python-numpydoc" (package-inputs matplotlib))))))) + +(define-public python-sqlalchemy + (package + (name "python-sqlalchemy") + (version "0.9.7") + (source + (origin + (method url-fetch) + (uri (string-append "https://pypi.python.org/packages/source/S/" + "SQLAlchemy/SQLAlchemy-" version ".tar.gz")) + (sha256 + (base32 + "059ayifj5l08v6vv56anhyibyllscn10dlzr2fcw68gz1hfjdzsz")))) + (build-system python-build-system) + (native-inputs + `(("python-cython" ,python-cython) ;for c extensions + ("python-pytest" ,python-pytest) + ("python-mock" ,python-mock))) ;for tests + (arguments + `(#:phases (alist-replace + 'check + (lambda _ (zero? (system* "py.test"))) + %standard-phases))) + (home-page "http://www.sqlalchemy.org") + (synopsis "Database abstraction library") + (description + "SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that +gives application developers the full power and flexibility of SQL. It +provides a full suite of well known enterprise-level persistence patterns, +designed for efficient and high-performing database access, adapted into a +simple and Pythonic domain language.") + (license x11))) + +(define-public python2-sqlalchemy + (package-with-python2 python-sqlalchemy)) |