python3Packages.hypothesis: 4.41.0 -> 5.11.0
This commit is contained in:
parent
6603fc4d46
commit
5ba771c0f5
|
@ -1,6 +1,7 @@
|
||||||
{ lib, buildPythonPackage, fetchFromGitHub
|
{ lib, buildPythonPackage, fetchFromGitHub
|
||||||
, isPy3k, attrs, coverage, enum34, pexpect
|
, isPy3k, attrs, coverage, enum34, pexpect
|
||||||
, doCheck ? true, pytest, pytest_xdist, flaky, mock
|
, doCheck ? true, pytest, pytest_xdist, flaky, mock
|
||||||
|
, sortedcontainers
|
||||||
}:
|
}:
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
# https://hypothesis.readthedocs.org/en/latest/packaging.html
|
# https://hypothesis.readthedocs.org/en/latest/packaging.html
|
||||||
|
@ -9,7 +10,7 @@ buildPythonPackage rec {
|
||||||
# pytz fake_factory django numpy pytest
|
# pytz fake_factory django numpy pytest
|
||||||
# If you need these, you can just add them to your environment.
|
# If you need these, you can just add them to your environment.
|
||||||
|
|
||||||
version = "4.41.0";
|
version = "5.11.0";
|
||||||
pname = "hypothesis";
|
pname = "hypothesis";
|
||||||
|
|
||||||
# Use github tarballs that includes tests
|
# Use github tarballs that includes tests
|
||||||
|
@ -17,12 +18,16 @@ buildPythonPackage rec {
|
||||||
owner = "HypothesisWorks";
|
owner = "HypothesisWorks";
|
||||||
repo = "hypothesis-python";
|
repo = "hypothesis-python";
|
||||||
rev = "hypothesis-python-${version}";
|
rev = "hypothesis-python-${version}";
|
||||||
sha256 = "09bpwp4kdywkmzci969m57w0yy8c31kzwg60vg4mvrmmgyi2cfzv";
|
hash = "sha256:1ca2dwih65s4r8vazwqm963ywngdr3v854ldnfyny7bvx1v28m8k";
|
||||||
};
|
};
|
||||||
|
|
||||||
postUnpack = "sourceRoot=$sourceRoot/hypothesis-python";
|
postUnpack = "sourceRoot=$sourceRoot/hypothesis-python";
|
||||||
|
|
||||||
propagatedBuildInputs = [ attrs coverage ] ++ lib.optional (!isPy3k) enum34;
|
propagatedBuildInputs = [
|
||||||
|
attrs
|
||||||
|
coverage
|
||||||
|
sortedcontainers
|
||||||
|
] ++ lib.optional (!isPy3k) enum34;
|
||||||
|
|
||||||
checkInputs = [ pytest pytest_xdist flaky mock pexpect ];
|
checkInputs = [ pytest pytest_xdist flaky mock pexpect ];
|
||||||
inherit doCheck;
|
inherit doCheck;
|
||||||
|
|
Loading…
Reference in New Issue