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