summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2016-09-01 19:44:56 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2016-09-01 20:10:29 +0200
commitc319c842b70440c8e068b88dee0d6a237509b9d8 (patch)
tree0b76ca0751b05352aee156b0f009344a5919472e /pkgs
parentbb18d733236464c53d044e8a0ed8891761f9a1c6 (diff)
downloadnixlib-c319c842b70440c8e068b88dee0d6a237509b9d8.tar
nixlib-c319c842b70440c8e068b88dee0d6a237509b9d8.tar.gz
nixlib-c319c842b70440c8e068b88dee0d6a237509b9d8.tar.bz2
nixlib-c319c842b70440c8e068b88dee0d6a237509b9d8.tar.lz
nixlib-c319c842b70440c8e068b88dee0d6a237509b9d8.tar.xz
nixlib-c319c842b70440c8e068b88dee0d6a237509b9d8.tar.zst
nixlib-c319c842b70440c8e068b88dee0d6a237509b9d8.zip
pythonPackages.hypothesis: remove optional dependencies
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/top-level/python-packages.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index 2646cc0bcd7a..98c618e2a021 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -11681,6 +11681,10 @@ in modules // {
   hypothesis = buildPythonPackage rec {
     # http://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.
+
     name = "hypothesis-${version}";
     version = "3.1.0";
 
@@ -11693,7 +11697,7 @@ in modules // {
     };
 
     buildInputs = with self; [ flake8 pytest flaky ];
-    propagatedBuildInputs = with self; ([ pytz fake_factory django numpy ] ++ optionals isPy27 [ enum34 modules.sqlite3 ]);
+    propagatedBuildInputs = with self; ([] ++ optionals isPy27 [ enum34 modules.sqlite3 ]);
 
     # https://github.com/DRMacIver/hypothesis/issues/300
     checkPhase = ''