[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 05/11] gnu: Add python-pymongo.
From: |
David Craven |
Subject: |
[PATCH 05/11] gnu: Add python-pymongo. |
Date: |
Mon, 22 Aug 2016 15:20:12 +0200 |
* gnu/packages/python.scm (python-pymongo): New variable.
(python2-pymongo): New variable.
---
gnu/packages/python.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index c1eaf12..a703be3 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -10036,3 +10036,29 @@ binary or text.")
(native-inputs
`(("python2-setuptools" ,python2-setuptools)
,@(package-native-inputs base))))))
+
+(define-public python-pymongo
+ (package
+ (name "python-pymongo")
+ (version "3.3.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "pymongo" version))
+ (sha256
+ (base32
+ "07mra6w86wjqy4lx5fvimidjhhfzd562gfjn8grsnbv2q8pk0i9x"))))
+ (build-system python-build-system)
+ (inputs
+ `(("python-certifi" ,python-certifi)))
+ (home-page "http://github.com/mongodb/mongo-python-driver")
+ (synopsis "Python driver for MongoDB")
+ (description "Python driver for MongoDB.")
+ (license license:asl2.0)
+ (properties `((python2-variant . ,(delay python2-pymongo))))))
+
+(define-public python2-pymongo
+ (let ((base (package-with-python2 (strip-python2-variant python-pymongo))))
+ (package (inherit base)
+ (native-inputs
+ `(("python2-setuptools" ,python2-setuptools)
+ ,@(package-native-inputs base))))))
--
2.9.0
- [PATCH 02/12] import: utils: Symbols from 'license->symbol' have a license: prefix., David Craven, 2016/08/05
- [PATCH 04/12] gnu: python: Add python-binaryornot., David Craven, 2016/08/05
- Re: [PATCH 04/12] gnu: python: Add python-binaryornot., Leo Famulari, 2016/08/08
- Re: [PATCH 04/12] gnu: python: Add python-binaryornot., David Craven, 2016/08/22
- Re: [PATCH 04/12] gnu: python: Add python-binaryornot., David Craven, 2016/08/22
- [PATCH 01/11] import: utils: Symbols from 'license->symbol' have a license: prefix., David Craven, 2016/08/22
- [PATCH 05/11] gnu: Add python-pymongo.,
David Craven <=
- [PATCH 06/11] gnu: Add python-sh., David Craven, 2016/08/22
- Re: [PATCH 06/11] gnu: Add python-sh., Danny Milosavljevic, 2016/08/27
- Re: [PATCH 06/11] gnu: Add python-sh., David Craven, 2016/08/28
- Guix with U-Boot, Danny Milosavljevic, 2016/08/29
- Re: Guix with U-Boot, David Craven, 2016/08/29
- Re: Guix with U-Boot, David Craven, 2016/08/29
- Re: Guix with U-Boot, Danny Milosavljevic, 2016/08/29
- Re: Guix with U-Boot, David Craven, 2016/08/29
- Re: Guix with U-Boot, Danny Milosavljevic, 2016/08/29
- Re: Guix with U-Boot, Danny Milosavljevic, 2016/08/29