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