python3Packages.jsonschema: Expose optional-dependencies
This commit is contained in:
parent
d41ca8be7b
commit
456cf81271
@ -11,6 +11,17 @@
|
||||
, pythonOlder
|
||||
, twisted
|
||||
, typing-extensions
|
||||
|
||||
# optionals
|
||||
, fqdn
|
||||
, idna
|
||||
, isoduration
|
||||
, jsonpointer
|
||||
, rfc3339-validator
|
||||
, rfc3986-validator
|
||||
, rfc3987
|
||||
, uri-template
|
||||
, webcolors
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -45,6 +56,29 @@ buildPythonPackage rec {
|
||||
importlib-resources
|
||||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
format = [
|
||||
fqdn
|
||||
idna
|
||||
isoduration
|
||||
jsonpointer
|
||||
rfc3339-validator
|
||||
rfc3987
|
||||
uri-template
|
||||
webcolors
|
||||
];
|
||||
format-nongpl = [
|
||||
fqdn
|
||||
idna
|
||||
isoduration
|
||||
jsonpointer
|
||||
rfc3339-validator
|
||||
rfc3986-validator
|
||||
uri-template
|
||||
webcolors
|
||||
];
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
twisted
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user