mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
python3Packages.hypothesis: 4.41.0 -> 5.11.0
This commit is contained in:
parent
6603fc4d46
commit
5ba771c0f5
@ -1,6 +1,7 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub
|
||||
, isPy3k, attrs, coverage, enum34, pexpect
|
||||
, doCheck ? true, pytest, pytest_xdist, flaky, mock
|
||||
, sortedcontainers
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
# https://hypothesis.readthedocs.org/en/latest/packaging.html
|
||||
@ -9,7 +10,7 @@ buildPythonPackage rec {
|
||||
# pytz fake_factory django numpy pytest
|
||||
# If you need these, you can just add them to your environment.
|
||||
|
||||
version = "4.41.0";
|
||||
version = "5.11.0";
|
||||
pname = "hypothesis";
|
||||
|
||||
# Use github tarballs that includes tests
|
||||
@ -17,12 +18,16 @@ buildPythonPackage rec {
|
||||
owner = "HypothesisWorks";
|
||||
repo = "hypothesis-python";
|
||||
rev = "hypothesis-python-${version}";
|
||||
sha256 = "09bpwp4kdywkmzci969m57w0yy8c31kzwg60vg4mvrmmgyi2cfzv";
|
||||
hash = "sha256:1ca2dwih65s4r8vazwqm963ywngdr3v854ldnfyny7bvx1v28m8k";
|
||||
};
|
||||
|
||||
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 ];
|
||||
inherit doCheck;
|
||||
|
Loading…
Reference in New Issue
Block a user