nav: init at 1.2.1 (#356071)
[NixPkgs.git] / pkgs / development / python-modules / rethinkdb / default.nix
blob2a3f6c1db08ad257c408abe7e03fe35a6ad7564b
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   looseversion,
6   six,
7   setuptools,
8 }:
10 buildPythonPackage rec {
11   pname = "rethinkdb";
12   version = "2.4.10.post1";
13   pyproject = true;
15   src = fetchPypi {
16     inherit pname version;
17     hash = "sha256-NjTgPuE91jf9cZa4BHS/RMZNProd0GnqkrlJJnAqYL0=";
18   };
20   nativeBuildInputs = [ setuptools ];
22   propagatedBuildInputs = [
23     looseversion
24     six
25   ];
27   doCheck = false;
29   pythonImportsCheck = [ "rethinkdb" ];
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   };