mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
python310Packages.hypothesis: 6.40.0 -> 6.46.3
This commit is contained in:
parent
b5f8c41fa0
commit
8abc97c217
@ -8,27 +8,21 @@
|
|||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pytest-xdist
|
, pytest-xdist
|
||||||
, sortedcontainers
|
, sortedcontainers
|
||||||
, tzdata
|
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
# https://hypothesis.readthedocs.org/en/latest/packaging.html
|
|
||||||
|
|
||||||
# Hypothesis has optional dependencies on the following libraries
|
|
||||||
# pytz fake_factory django numpy pytest
|
|
||||||
# If you need these, you can just add them to your environment.
|
|
||||||
|
|
||||||
pname = "hypothesis";
|
pname = "hypothesis";
|
||||||
version = "6.40.0";
|
version = "6.46.3";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "HypothesisWorks";
|
owner = "HypothesisWorks";
|
||||||
repo = "hypothesis-python";
|
repo = "hypothesis";
|
||||||
rev = "hypothesis-python-${version}";
|
rev = "hypothesis-python-${version}";
|
||||||
hash = "sha256-6BC3CTotkMhguueH4NJM8VjbrYhofHqtZEUytcllMwQ=";
|
hash = "sha256-6WFXSu4wPJba8Gi3WWkqrxUE6Dyz+yl/V/jMVpsWLHw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postUnpack = "sourceRoot=$sourceRoot/hypothesis-python";
|
postUnpack = "sourceRoot=$sourceRoot/hypothesis-python";
|
||||||
@ -42,8 +36,6 @@ buildPythonPackage rec {
|
|||||||
pexpect
|
pexpect
|
||||||
pytest-xdist
|
pytest-xdist
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
] ++ lib.optional (pythonAtLeast "3.9") [
|
|
||||||
tzdata
|
|
||||||
];
|
];
|
||||||
|
|
||||||
inherit doCheck;
|
inherit doCheck;
|
||||||
|
Loading…
Reference in New Issue
Block a user