python3Packages.connexion: add missing dependency on 'packages'

Without 'packages' dependency:
$ nix-shell -I nixpkgs=./default.nix --pure -p python3Packages.connexion \
    --command "python -m connexion --version"
...
ModuleNotFoundError: No module named 'packaging'

With 'packages' dependency added:
$ nix-shell -I nixpkgs=./default.nix --pure -p python3Packages.connexion \
    --command "python -m connexion --version"
Connexion 2020.0.dev1

nix-info -m:
 - system: `"x86_64-darwin"`
 - host os: `Darwin 20.6.0, macOS 10.16`
 - multi-user?: `no`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.10.3`

Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
This commit is contained in:
Sirio Balmelli 2022-10-25 06:41:19 +02:00
parent 9c53f134f0
commit fd47630b8b
No known key found for this signature in database
GPG key ID: 0437A96EFE4C426E

View file

@ -11,6 +11,7 @@
, inflection
, jsonschema
, openapi-spec-validator
, packaging
, pytest-aiohttp
, pytestCheckHook
, pythonOlder
@ -43,6 +44,7 @@ buildPythonPackage rec {
inflection
jsonschema
openapi-spec-validator
packaging
pyyaml
requests
swagger-ui-bundle