2019-01-22 10:59:03 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi }:
|
2017-09-14 03:37:32 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pymongo";
|
2020-11-29 14:04:38 +00:00
|
|
|
version = "3.11.1";
|
2017-09-14 03:37:32 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-29 14:04:38 +00:00
|
|
|
sha256 = "a9c1a2538cd120283e7137ac97ce27ebdfcb675730c5055d6332b0043f4e5a55";
|
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
|
|
|
};
|
|
|
|
}
|