Loading pkgs/development/python-modules/compliance-trestle/default.nix +4 −0 Original line number Diff line number Diff line Loading @@ -71,6 +71,10 @@ buildPythonPackage (finalAttrs: { hatchling ]; pythonRelaxDeps = [ "cryptography" ]; dependencies = [ attrs cmarkgfm Loading pkgs/development/python-modules/datamodel-code-generator/default.nix +12 −7 Original line number Diff line number Diff line Loading @@ -4,13 +4,13 @@ black, buildPythonPackage, fetchFromGitHub, freezegun, genson, graphql-core, hatch-vcs, hatchling, httpx, inflect, inline-snapshot, isort, jinja2, openapi-spec-validator, Loading @@ -18,11 +18,12 @@ prance, ruff, pydantic, pytest-benchmark, pysnooper, pytest-mock, pytestCheckHook, pyyaml, toml, time-machine, watchfiles, }: buildPythonPackage rec { Loading Loading @@ -57,10 +58,11 @@ buildPythonPackage rec { packaging pydantic pyyaml toml ]; optional-dependencies = { all = lib.concatAttrValues (lib.removeAttrs optional-dependencies [ "all" ]); debug = [ pysnooper ]; graphql = [ graphql-core ]; http = [ httpx ]; ruff = [ ruff ]; Loading @@ -68,15 +70,18 @@ buildPythonPackage rec { openapi-spec-validator prance ]; watch = [ watchfiles ]; }; nativeCheckInputs = [ freezegun pytest-benchmark inline-snapshot pytest-mock pytestCheckHook time-machine ] ++ lib.concatAttrValues optional-dependencies; ++ optional-dependencies.all; pythonImportsCheck = [ "datamodel_code_generator" ]; Loading Loading
pkgs/development/python-modules/compliance-trestle/default.nix +4 −0 Original line number Diff line number Diff line Loading @@ -71,6 +71,10 @@ buildPythonPackage (finalAttrs: { hatchling ]; pythonRelaxDeps = [ "cryptography" ]; dependencies = [ attrs cmarkgfm Loading
pkgs/development/python-modules/datamodel-code-generator/default.nix +12 −7 Original line number Diff line number Diff line Loading @@ -4,13 +4,13 @@ black, buildPythonPackage, fetchFromGitHub, freezegun, genson, graphql-core, hatch-vcs, hatchling, httpx, inflect, inline-snapshot, isort, jinja2, openapi-spec-validator, Loading @@ -18,11 +18,12 @@ prance, ruff, pydantic, pytest-benchmark, pysnooper, pytest-mock, pytestCheckHook, pyyaml, toml, time-machine, watchfiles, }: buildPythonPackage rec { Loading Loading @@ -57,10 +58,11 @@ buildPythonPackage rec { packaging pydantic pyyaml toml ]; optional-dependencies = { all = lib.concatAttrValues (lib.removeAttrs optional-dependencies [ "all" ]); debug = [ pysnooper ]; graphql = [ graphql-core ]; http = [ httpx ]; ruff = [ ruff ]; Loading @@ -68,15 +70,18 @@ buildPythonPackage rec { openapi-spec-validator prance ]; watch = [ watchfiles ]; }; nativeCheckInputs = [ freezegun pytest-benchmark inline-snapshot pytest-mock pytestCheckHook time-machine ] ++ lib.concatAttrValues optional-dependencies; ++ optional-dependencies.all; pythonImportsCheck = [ "datamodel_code_generator" ]; Loading