[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 03/13] gnu: Add python-sqlalchemy.
From: |
Eric Bavier |
Subject: |
[PATCH 03/13] gnu: Add python-sqlalchemy. |
Date: |
Thu, 20 Nov 2014 23:40:58 -0600 |
* gnu/packages/python.scm (python-sqlalchemy, python2-sqlalchemy): New
variables.
---
gnu/packages/python.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 229e140..6238e4f 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1879,3 +1879,38 @@ writing C extensions for Python as easy as Python
itself.")
(name "python2-cython")
(inputs
`(("python-2" ,python-2))))) ; this is not automatically changed
+
+(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))
--
1.7.9.5
- [PATCH 00/13] Add gourmet (and dependent python packages), Eric Bavier, 2014/11/21
- [PATCH 01/13] gnu: subversion: Propagate env variables to hooks., Eric Bavier, 2014/11/21
- Re: [PATCH 01/13] gnu: subversion: Propagate env variables to hooks., Ludovic Courtès, 2014/11/21
- Re: [PATCH 01/13] gnu: subversion: Propagate env variables to hooks., Eric Bavier, 2014/11/21
- Re: [PATCH 01/13] gnu: subversion: Propagate env variables to hooks., Eric Bavier, 2014/11/22
- Re: [PATCH 01/13] gnu: subversion: Propagate env variables to hooks., Ludovic Courtès, 2014/11/22
- Re: [PATCH 01/13] gnu: subversion: Propagate env variables to hooks., Eric Bavier, 2014/11/25
- Re: [PATCH 01/13] gnu: subversion: Propagate env variables to hooks., Ludovic Courtès, 2014/11/25
- Re: [PATCH 01/13] gnu: subversion: Propagate env variables to hooks., Eric Bavier, 2014/11/25
- Re: [PATCH 01/13] gnu: subversion: Propagate env variables to hooks., Ludovic Courtès, 2014/11/25
[PATCH 03/13] gnu: Add python-sqlalchemy.,
Eric Bavier <=
[PATCH 02/13] gnu: python: Add sqlite input., Eric Bavier, 2014/11/21
[PATCH 05/13] gnu: Export ghostscript module symbols up-front., Eric Bavier, 2014/11/21
[PATCH 04/13] gnu: Export symbols in (gnu packages image) upfront., Eric Bavier, 2014/11/21
[PATCH 06/13] gnu: Add python-pillow., Eric Bavier, 2014/11/21