pipenv: 2018.5.18 -> 2018.7.1

Signed-off-by: Domen Kožar <domen@dev.si>
This commit is contained in:
Domen Kožar
2018-07-19 17:36:05 +01:00
committed by Frederik Rietdijk
parent fb7b8948f4
commit 40887a6dc6
6 changed files with 87 additions and 8 deletions

View File

@@ -9,23 +9,24 @@ buildPythonPackage rec {
# pytz fake_factory django numpy pytest
# If you need these, you can just add them to your environment.
version = "3.45.2";
version = "3.66.2";
pname = "hypothesis";
# Upstream prefers github tarballs
# Use github tarballs that includes tests
src = fetchFromGitHub {
owner = "HypothesisWorks";
repo = "hypothesis-python";
rev = version;
sha256 = "063sn5m1966gvm3wrlxczdq4vw0r94h3nd9xpr94qxahpg2r4bpb";
rev = "hypothesis-python-${version}";
sha256 = "17ywbwa76z7f0pgash0003fvm25fsj7hxdrdiprdbv99y3i8bm88";
};
postUnpack = "sourceRoot=$sourceRoot/hypothesis-python";
propagatedBuildInputs = [ attrs coverage ] ++ lib.optional (!isPy3k) [ enum34 ];
checkInputs = [ pytest pytest_xdist flaky mock ];
inherit doCheck;
# https://github.com/DRMacIver/hypothesis/issues/300
checkPhase = ''
rm tox.ini # This file changes how py.test runs and breaks it
py.test tests/cover