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