python312Packages.camel-converter: format with nixfmt
This commit is contained in:
parent
8a8f283acd
commit
2ab35f2aaf
|
@ -1,10 +1,11 @@
|
||||||
{ lib
|
{
|
||||||
, buildPythonPackage
|
lib,
|
||||||
, fetchFromGitHub
|
buildPythonPackage,
|
||||||
, poetry-core
|
fetchFromGitHub,
|
||||||
, pydantic
|
poetry-core,
|
||||||
, pytestCheckHook
|
pydantic,
|
||||||
, pythonOlder
|
pytestCheckHook,
|
||||||
|
pythonOlder,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -26,23 +27,15 @@ buildPythonPackage rec {
|
||||||
--replace-fail "--cov=camel_converter --cov-report term-missing --no-cov-on-fail" ""
|
--replace-fail "--cov=camel_converter --cov-report term-missing --no-cov-on-fail" ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
build-system = [
|
build-system = [ poetry-core ];
|
||||||
poetry-core
|
|
||||||
];
|
|
||||||
|
|
||||||
passthru.optional-dependencies = {
|
passthru.optional-dependencies = {
|
||||||
pydantic = [
|
pydantic = [ pydantic ];
|
||||||
pydantic
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [ pytestCheckHook ] ++ passthru.optional-dependencies.pydantic;
|
||||||
pytestCheckHook
|
|
||||||
] ++ passthru.optional-dependencies.pydantic;
|
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [ "camel_converter" ];
|
||||||
"camel_converter"
|
|
||||||
];
|
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
# AttributeError: 'Test' object has no attribute 'model_dump'
|
# AttributeError: 'Test' object has no attribute 'model_dump'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user