@@ -12548,41 +12548,7 @@ in {
1254812548 propagatedBuildInputs = with self; [ requests2 ];
1254912549 };
1255012550
12551− hypothesis = buildPythonPackage rec {
12552− # http://hypothesis.readthedocs.org/en/latest/packaging.html
12553−
12554− # Hypothesis has optional dependencies on the following libraries
12555− # pytz fake_factory django numpy pytest
12556− # If you need these, you can just add them to your environment.
12557−
12558− name = "hypothesis-${version}";
12559− version = "3.5.2";
12560−
12561− # Upstream prefers github tarballs
12562− src = pkgs.fetchFromGitHub {
12563− owner = "HypothesisWorks";
12564− repo = "hypothesis";
12565− rev = "${version}";
12566− sha256 = "030rf4gn4b0hylr90wazilwa3bc038fcqng0wibcx67mqaq035n4";
12567− };
12568−
12569− buildInputs = with self; [ flake8 pytest flaky ];
12570− propagatedBuildInputs = with self; ([ uncompyle6 ] ++ optionals isPy27 [ enum34 ]);
12571−
12572− # Fails randomly in tests/cover/test_conjecture_engine.py::test_interleaving_engines.
12573− doCheck = false;
12574−
12575− # https://github.com/DRMacIver/hypothesis/issues/300
12576− checkPhase = ''
12577− ${python.interpreter} -m pytest tests/cover
12578− '';
12579−
12580− meta = {
12581− description = "A Python library for property based testing";
12582− homepage = https://github.com/DRMacIver/hypothesis;
12583− license = licenses.mpl20;
12584− };
12585− };
12551+ hypothesis = callPackage ../development/python-modules/hypothesis.nix { };
1258612552
1258712553 colored = buildPythonPackage rec {
1258812554 name = "colored-${version}";