Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 28 lines 576 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, six 5, setuptools 6}: 7 8buildPythonPackage rec { 9 pname = "rethinkdb"; 10 version = "2.4.7"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "945b5efdc10f468fc056bd53a4e4224ec4c2fe1a7e83ae47443bbb6e7c7a1f7d"; 15 }; 16 17 propagatedBuildInputs = [ six setuptools ]; 18 19 doCheck = false; 20 pythonImportsCheck = [ "rethinkdb" ]; 21 22 meta = with stdenv.lib; { 23 description = "Python driver library for the RethinkDB database server"; 24 homepage = "https://pypi.python.org/pypi/rethinkdb"; 25 license = licenses.asl20; 26 }; 27 28}