2019-01-22 10:59:03 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi }:
|
2017-09-14 03:37:32 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pymongo";
|
2020-05-09 11:01:55 +01:00
|
|
|
version = "3.10.1";
|
2017-09-14 03:37:32 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-05-09 11:01:55 +01:00
|
|
|
sha256 = "993257f6ca3cde55332af1f62af3e04ca89ce63c08b56a387cdd46136c72f2fa";
|
2017-09-14 03:37:32 +01:00
|
|
|
};
|
|
|
|
|
2019-01-22 10:59:03 +00:00
|
|
|
# Tests call a running mongodb instance
|
2017-09-14 03:37:32 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
2019-01-22 10:59:03 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/mongodb/mongo-python-driver";
|
2017-09-14 03:37:32 +01:00
|
|
|
license = licenses.asl20;
|
2019-01-22 10:59:03 +00:00
|
|
|
description = "Python driver for MongoDB";
|
2017-09-14 03:37:32 +01:00
|
|
|
};
|
|
|
|
}
|