Skip to content

Commit

Permalink
python312Packages.hypothesis-auto: relax dependencies (NixOS#348060)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaff authored Oct 12, 2024
2 parents 64cbc39 + 76e8a95 commit 3c273bd
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions pkgs/development/python-modules/hypothesis-auto/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
buildPythonPackage rec {
pname = "hypothesis-auto";
version = "1.1.5";
format = "pyproject";
pyproject = true;

disabled = pythonOlder "3.6";

Expand All @@ -23,21 +23,30 @@ buildPythonPackage rec {
hash = "sha256-U0vcOB9jXmUV5v2IwybVu2arY1FpPnKkP7m2kbD1kRw=";
};

nativeBuildInputs = [ poetry-core ];
pythonRelaxDeps = [
"hypothesis"
"pydantic"
];

propagatedBuildInputs = [
pydantic
build-system = [ poetry-core ];

dependencies = [
hypothesis
pytest
pydantic
];

optional-dependencies = {
pytest = [ pytest ];
};

pythonImportsCheck = [ "hypothesis_auto" ];

nativeCheckInputs = [ pytestCheckHook ];

meta = with lib; {
description = "Enables fully automatic tests for type annotated functions";
homepage = "https://github.com/timothycrosley/hypothesis-auto/";
changelog = "https://github.com/timothycrosley/hypothesis-auto/blob/master/CHANGELOG.md";
license = licenses.mit;
maintainers = [ ];
};
Expand Down

0 comments on commit 3c273bd

Please sign in to comment.