mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-11-09 16:18:34 +01:00
python3Packages.redshift-connector: cleanup
This commit is contained in:
parent
e0be264bb7
commit
88e4f87dbd
|
|
@ -1,25 +1,30 @@
|
|||
{
|
||||
beautifulsoup4,
|
||||
boto3,
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
|
||||
# dependencies
|
||||
beautifulsoup4,
|
||||
boto3,
|
||||
botocore,
|
||||
lxml,
|
||||
packaging,
|
||||
pytest-mock,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
pytz,
|
||||
requests,
|
||||
scramp,
|
||||
|
||||
# test
|
||||
pytest-mock,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "redshift-connector";
|
||||
version = "2.1.8";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aws";
|
||||
|
|
@ -33,7 +38,9 @@ buildPythonPackage rec {
|
|||
substituteInPlace setup.cfg --replace 'addopts =' 'no-opts ='
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
beautifulsoup4
|
||||
boto3
|
||||
lxml
|
||||
|
|
@ -43,6 +50,8 @@ buildPythonPackage rec {
|
|||
scramp
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [ "lxml" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-mock
|
||||
pytestCheckHook
|
||||
|
|
|
|||
Loading…
Reference in a new issue