python3Packages.simple-salesforce: unbreak (#510056)
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
pendulum,
|
||||
pyjwt,
|
||||
pytestCheckHook,
|
||||
pytest-cov-stub,
|
||||
pytz,
|
||||
requests,
|
||||
responses,
|
||||
@@ -15,7 +16,7 @@
|
||||
zeep,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "simple-salesforce";
|
||||
version = "1.12.9";
|
||||
pyproject = true;
|
||||
@@ -23,7 +24,7 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "simple-salesforce";
|
||||
repo = "simple-salesforce";
|
||||
tag = "v${version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-eMO/K6W9ROljYxR3gK9QjCHdlbAuN4DYjOyTO1WcalQ=";
|
||||
};
|
||||
|
||||
@@ -41,17 +42,24 @@ buildPythonPackage rec {
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pytest-cov-stub
|
||||
pytz
|
||||
responses
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
"test_connected_app_login_failure"
|
||||
"test_token_login_failure"
|
||||
"test_token_login_failure_with_warning"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "simple_salesforce" ];
|
||||
|
||||
meta = {
|
||||
description = "Very simple Salesforce.com REST API client for Python";
|
||||
homepage = "https://github.com/simple-salesforce/simple-salesforce";
|
||||
changelog = "https://github.com/simple-salesforce/simple-salesforce/blob/${src.tag}/CHANGES";
|
||||
changelog = "https://github.com/simple-salesforce/simple-salesforce/blob/${finalAttrs.src.tag}/CHANGES";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user