2018-10-16 15:36:13 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2020-08-15 06:01:31 +00:00
|
|
|
, six
|
2018-10-16 15:36:13 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "rethinkdb";
|
2020-06-05 17:44:37 +00:00
|
|
|
version = "2.4.7";
|
2018-10-16 15:36:13 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-05 17:44:37 +00:00
|
|
|
sha256 = "945b5efdc10f468fc056bd53a4e4224ec4c2fe1a7e83ae47443bbb6e7c7a1f7d";
|
2018-10-16 15:36:13 +00:00
|
|
|
};
|
|
|
|
|
2020-08-15 06:01:31 +00:00
|
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
|
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
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Python driver library for the RethinkDB database server";
|
|
|
|
homepage = "https://pypi.python.org/pypi/rethinkdb";
|
|
|
|
license = licenses.agpl3;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|