python313Packages.cwlformat: modernize
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user