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