Loading pkgs/development/python-modules/deal-solver/default.nix +9 −14 Original line number Diff line number Diff line { lib, astroid, buildPythonPackage, fetchFromGitHub, pythonOlder, flit-core, z3-solver, astroid, pytestCheckHook, hypothesis, pytest-cov-stub, pytest-xdist, pytestCheckHook, pythonOlder, z3-solver, }: buildPythonPackage rec { Loading @@ -29,23 +31,16 @@ buildPythonPackage rec { # z3 does not provide a dist-info, so python-runtime-deps-check will fail pythonRemoveDeps = [ "z3-solver" ]; postPatch = '' substituteInPlace pyproject.toml \ --replace "\"--cov=deal_solver\"," "" \ --replace "\"--cov-report=html\"," "" \ --replace "\"--cov-report=xml\"," "" \ --replace "\"--cov-report=term-missing:skip-covered\"," "" \ --replace "\"--cov-fail-under=100\"," "" ''; dependencies = [ z3-solver astroid ] ++ z3-solver.requiredPythonModules; nativeCheckInputs = [ pytestCheckHook hypothesis pytest-cov-stub pytest-xdist pytestCheckHook ]; pythonImportsCheck = [ "deal_solver" ]; Loading Loading
pkgs/development/python-modules/deal-solver/default.nix +9 −14 Original line number Diff line number Diff line { lib, astroid, buildPythonPackage, fetchFromGitHub, pythonOlder, flit-core, z3-solver, astroid, pytestCheckHook, hypothesis, pytest-cov-stub, pytest-xdist, pytestCheckHook, pythonOlder, z3-solver, }: buildPythonPackage rec { Loading @@ -29,23 +31,16 @@ buildPythonPackage rec { # z3 does not provide a dist-info, so python-runtime-deps-check will fail pythonRemoveDeps = [ "z3-solver" ]; postPatch = '' substituteInPlace pyproject.toml \ --replace "\"--cov=deal_solver\"," "" \ --replace "\"--cov-report=html\"," "" \ --replace "\"--cov-report=xml\"," "" \ --replace "\"--cov-report=term-missing:skip-covered\"," "" \ --replace "\"--cov-fail-under=100\"," "" ''; dependencies = [ z3-solver astroid ] ++ z3-solver.requiredPythonModules; nativeCheckInputs = [ pytestCheckHook hypothesis pytest-cov-stub pytest-xdist pytestCheckHook ]; pythonImportsCheck = [ "deal_solver" ]; Loading