1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 looseversion,
6 six,
7 setuptools,
8}:
9
10buildPythonPackage rec {
11 pname = "rethinkdb";
12 version = "2.4.10.post1";
13 pyproject = true;
14
15 src = fetchPypi {
16 inherit pname version;
17 hash = "sha256-NjTgPuE91jf9cZa4BHS/RMZNProd0GnqkrlJJnAqYL0=";
18 };
19
20 nativeBuildInputs = [ setuptools ];
21
22 propagatedBuildInputs = [
23 looseversion
24 six
25 ];
26
27 doCheck = false;
28
29 pythonImportsCheck = [ "rethinkdb" ];
30
31 meta = with lib; {
32 description = "Python driver library for the RethinkDB database server";
33 homepage = "https://github.com/RethinkDB/rethinkdb-python";
34 license = licenses.asl20;
35 };
36}