Merge pull request #305452 from r-ryantm/auto-update/python312Packages.camel-converter

python312Packages.camel-converter: 3.1.1 -> 3.1.2
This commit is contained in:
Fabian Affolter 2024-04-20 11:54:55 +02:00 committed by GitHub
commit cfbc0b717b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 15 additions and 22 deletions

View File

@ -1,15 +1,16 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pydantic
, pytestCheckHook
, pythonOlder
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pydantic,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "camel-converter";
version = "3.1.1";
version = "3.1.2";
pyproject = true;
disabled = pythonOlder "3.8";
@ -18,31 +19,23 @@ buildPythonPackage rec {
owner = "sanders41";
repo = "camel-converter";
rev = "refs/tags/v${version}";
hash = "sha256-xrdk5Y3H8KlQaGtJYdJNHq16Qfos2p+93uIAfIl098c=";
hash = "sha256-CJbflRI3wfUmPoVuLwZDYcobESmySvnS99PdpSDhDLk=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace "--cov=camel_converter --cov-report term-missing --no-cov-on-fail" ""
--replace-fail "--cov=camel_converter --cov-report term-missing --no-cov-on-fail" ""
'';
nativeBuildInputs = [
poetry-core
];
build-system = [ poetry-core ];
passthru.optional-dependencies = {
pydantic = [
pydantic
];
pydantic = [ pydantic ];
};
nativeCheckInputs = [
pytestCheckHook
] ++ passthru.optional-dependencies.pydantic;
nativeCheckInputs = [ pytestCheckHook ] ++ passthru.optional-dependencies.pydantic;
pythonImportsCheck = [
"camel_converter"
];
pythonImportsCheck = [ "camel_converter" ];
disabledTests = [
# AttributeError: 'Test' object has no attribute 'model_dump'