1 { lib, buildPythonPackage, fetchPypi
2 , setuptools, setuptools_scm, django, dateutil, whoosh, pysolr
3 , coverage, mock, nose, geopy, requests }:
5 buildPythonPackage rec {
6 pname = "django-haystack";
10 inherit pname version;
11 sha256 = "d490f920afa85471dd1fa5000bc8eff4b704daacbe09aee1a64e75cbc426f3be";
14 checkInputs = [ pysolr whoosh dateutil geopy coverage nose mock coverage requests ];
15 propagatedBuildInputs = [ django setuptools ];
16 nativeBuildInputs = [ setuptools_scm ];
19 sed -i 's/geopy==/geopy>=/' setup.py
22 # ImportError: cannot import name django.contrib.gis.geos.prototypes
26 description = "Modular search for Django";
27 homepage = "http://haystacksearch.org/";
28 license = licenses.bsd3;