about summary refs log tree commit diff
path: root/pkgs/top-level/python-packages.nix
diff options
context:
space:
mode:
authorRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2018-06-22 11:06:03 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2018-06-22 13:09:48 +0200
commit95ce1c4e128216a76bda07ba7b55d9b5fc2872b9 (patch)
tree513d849e0b58ca4c65a63dbe3086c4380a26c74e /pkgs/top-level/python-packages.nix
parentc34c192714b68ff2bb5de0cf87812dd1ee9ed8c3 (diff)
downloadnixlib-95ce1c4e128216a76bda07ba7b55d9b5fc2872b9.tar
nixlib-95ce1c4e128216a76bda07ba7b55d9b5fc2872b9.tar.gz
nixlib-95ce1c4e128216a76bda07ba7b55d9b5fc2872b9.tar.bz2
nixlib-95ce1c4e128216a76bda07ba7b55d9b5fc2872b9.tar.lz
nixlib-95ce1c4e128216a76bda07ba7b55d9b5fc2872b9.tar.xz
nixlib-95ce1c4e128216a76bda07ba7b55d9b5fc2872b9.tar.zst
nixlib-95ce1c4e128216a76bda07ba7b55d9b5fc2872b9.zip
python.pkgs.django-haystack: move expression
Diffstat (limited to 'pkgs/top-level/python-packages.nix')
-rw-r--r--pkgs/top-level/python-packages.nix26
1 files changed, 1 insertions, 25 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index 51da6c57433b..0ff3b643772f 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -12116,31 +12116,7 @@ in {
   };
 
 
-  django-haystack = buildPythonPackage rec {
-    name = "django-haystack-${version}";
-    version = "2.4.1";
-
-    src = pkgs.fetchurl {
-      url = "mirror://pypi/d/django-haystack/django-haystack-${version}.tar.gz";
-      sha256 = "04cva8qg79xig4zqhb4dwkpm7734dvhzqclzvrdz70fh59ki5b4f";
-    };
-
-    doCheck = false;  # no tests in source
-
-    buildInputs = with self; [ coverage mock nose geopy ];
-    propagatedBuildInputs = with self; [
-      django dateutil_1_5 whoosh pysolr elasticsearch
-    ];
-
-    patchPhase = ''
-      sed -i 's/geopy==/geopy>=/' setup.py
-      sed -i 's/whoosh==/Whoosh>=/' setup.py
-    '';
-
-    meta = with stdenv.lib; {
-      homepage = "http://haystacksearch.org/";
-    };
-  };
+  django-haystack = callPackage ../development/python-modules/django-haystack { };
 
   geoalchemy2 = buildPythonPackage rec {
     name = "GeoAlchemy2-${version}";