2021-01-25 09:26:54 +01:00
|
|
|
{ lib
|
2018-10-16 17:36:13 +02:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2020-08-15 08:01:31 +02:00
|
|
|
, six
|
2020-05-14 17:55:10 +02:00
|
|
|
, setuptools
|
2018-10-16 17:36:13 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "rethinkdb";
|
2020-06-05 19:44:37 +02:00
|
|
|
version = "2.4.7";
|
2018-10-16 17:36:13 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-05 19:44:37 +02:00
|
|
|
sha256 = "945b5efdc10f468fc056bd53a4e4224ec4c2fe1a7e83ae47443bbb6e7c7a1f7d";
|
2018-10-16 17:36:13 +02:00
|
|
|
};
|
|
|
|
|
2020-05-14 17:55:10 +02:00
|
|
|
propagatedBuildInputs = [ six setuptools ];
|
2020-08-15 08:01:31 +02:00
|
|
|
|
2018-10-16 17:36:13 +02:00
|
|
|
doCheck = false;
|
2020-08-15 08:01:31 +02:00
|
|
|
pythonImportsCheck = [ "rethinkdb" ];
|
2018-10-16 17:36:13 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2018-10-16 17:36:13 +02:00
|
|
|
description = "Python driver library for the RethinkDB database server";
|
|
|
|
homepage = "https://pypi.python.org/pypi/rethinkdb";
|
2020-05-14 17:55:10 +02:00
|
|
|
license = licenses.asl20;
|
2018-10-16 17:36:13 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|