python310Packages.schema-salad: use optional-dependencies for black
This commit is contained in:
parent
68aba2a583
commit
90735c3e4a
1 changed files with 5 additions and 2 deletions
|
@ -32,9 +32,8 @@ buildPythonPackage rec {
|
|||
];
|
||||
|
||||
checkInputs = [
|
||||
black
|
||||
pytestCheckHook
|
||||
];
|
||||
] ++ passthru.optional-dependencies.pycodegen;
|
||||
|
||||
disabledTests = [
|
||||
# Setup for these tests requires network access
|
||||
|
@ -48,6 +47,10 @@ buildPythonPackage rec {
|
|||
"schema_salad"
|
||||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
pycodegen = [ black ];
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Semantic Annotations for Linked Avro Data";
|
||||
homepage = "https://github.com/common-workflow-language/schema_salad";
|
||||
|
|
Loading…
Reference in a new issue