diff --git a/pkgs/development/python-modules/cwlformat/default.nix b/pkgs/development/python-modules/cwlformat/default.nix index f9a56ad49870..1144d815b03b 100644 --- a/pkgs/development/python-modules/cwlformat/default.nix +++ b/pkgs/development/python-modules/cwlformat/default.nix @@ -6,12 +6,13 @@ pytestCheckHook, pythonOlder, ruamel-yaml, + setuptools, }: buildPythonPackage rec { pname = "cwlformat"; version = "2022.02.18"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.8"; @@ -31,12 +32,19 @@ buildPythonPackage rec { }) ]; - propagatedBuildInputs = [ ruamel-yaml ]; + build-system = [ setuptools ]; + + dependencies = [ ruamel-yaml ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "cwlformat" ]; + disabledTests = [ + # Test compares output + "test_formatting_battery" + ]; + meta = with lib; { description = "Code formatter for CWL"; homepage = "https://github.com/rabix/cwl-format";