pythonPackages.vertica-python: init at 0.10.2
This commit is contained in:
parent
c71f63a337
commit
78c147c164
27
pkgs/development/python-modules/vertica-python/default.nix
Normal file
27
pkgs/development/python-modules/vertica-python/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, future, dateutil, six, pytest, mock, parameterized }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "vertica-python";
|
||||
version = "0.10.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "c35d0e7ac8da2af47a65efc72d5d8351caa93e4829e549f229aa7e375593f896";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ future dateutil six ];
|
||||
|
||||
checkInputs = [ pytest mock parameterized ];
|
||||
|
||||
# Integration tests require an accessible Vertica db
|
||||
checkPhase = ''
|
||||
pytest --ignore vertica_python/tests/integration_tests
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Native Python client for Vertica database";
|
||||
homepage = "https://github.com/vertica/vertica-python";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.arnoldfarkas ];
|
||||
};
|
||||
}
|
|
@ -5720,6 +5720,8 @@ in {
|
|||
|
||||
vega_datasets = callPackage ../development/python-modules/vega_datasets { };
|
||||
|
||||
vertica-python = callPackage ../development/python-modules/vertica-python { };
|
||||
|
||||
virtkey = callPackage ../development/python-modules/virtkey {
|
||||
inherit (pkgs) pkgconfig;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue