Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 27 lines 770 B view raw
1{ lib, buildPythonPackage, fetchPypi, future, dateutil, six, pytest, mock, parameterized }: 2 3buildPythonPackage rec { 4 pname = "vertica-python"; 5 version = "1.0.1"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "94cff37e03f89fc4c5e4b2d4c913c7d5d7450f5a205d14f709b39e0a4202be95"; 10 }; 11 12 propagatedBuildInputs = [ future dateutil six ]; 13 14 checkInputs = [ pytest mock parameterized ]; 15 16 # Integration tests require an accessible Vertica db 17 checkPhase = '' 18 pytest --ignore vertica_python/tests/integration_tests 19 ''; 20 21 meta = with lib; { 22 description = "Native Python client for Vertica database"; 23 homepage = "https://github.com/vertica/vertica-python"; 24 license = licenses.asl20; 25 maintainers = [ maintainers.arnoldfarkas ]; 26 }; 27}