1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/vertica-python/default.nix

28 lines
770 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, future, dateutil, six, pytest, mock, parameterized }:
buildPythonPackage rec {
pname = "vertica-python";
version = "1.0.0";
2020-08-25 03:07:09 +01:00
src = fetchPypi {
inherit pname version;
sha256 = "f042cf60ddd69eeb17c9f1586bae25da5b7282ca53d9afe0be30b943b4194d52";
};
2020-08-25 03:07:09 +01:00
propagatedBuildInputs = [ future dateutil six ];
2020-08-25 03:07:09 +01:00
checkInputs = [ pytest mock parameterized ];
2020-08-25 03:07:09 +01:00
# Integration tests require an accessible Vertica db
checkPhase = ''
pytest --ignore vertica_python/tests/integration_tests
'';
2020-08-25 03:07:09 +01:00
meta = with lib; {
description = "Native Python client for Vertica database";
homepage = "https://github.com/vertica/vertica-python";
license = licenses.asl20;
maintainers = [ maintainers.arnoldfarkas ];
};
}