2019-01-22 10:59:03 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi }:
|
2017-09-14 02:37:32 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pymongo";
|
2018-11-04 10:35:12 +00:00
|
|
|
version = "3.7.2";
|
2017-09-14 02:37:32 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-04 10:35:12 +00:00
|
|
|
sha256 = "8c74e2a9b594f7962c62cef7680a4cb92a96b4e6e3c2f970790da67cc0213a7e";
|
2017-09-14 02:37:32 +00:00
|
|
|
};
|
|
|
|
|
2019-01-22 10:59:03 +00:00
|
|
|
# Tests call a running mongodb instance
|
2017-09-14 02:37:32 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2019-01-22 10:59:03 +00:00
|
|
|
meta = with lib; {
|
2018-06-27 20:12:57 +00:00
|
|
|
homepage = https://github.com/mongodb/mongo-python-driver;
|
2017-09-14 02:37:32 +00:00
|
|
|
license = licenses.asl20;
|
2019-01-22 10:59:03 +00:00
|
|
|
description = "Python driver for MongoDB";
|
2017-09-14 02:37:32 +00:00
|
|
|
};
|
|
|
|
}
|