mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 14:19:58 +03:00
python.pkgs.django-haystack: 2.4.1 -> 2.8.1
This commit is contained in:
parent
61a051cbaa
commit
49cb112d99
@ -1,26 +1,27 @@
|
||||
{ lib, buildPythonPackage, fetchPypi
|
||||
, django, dateutil, whoosh, pysolr, elasticsearch
|
||||
, coverage, mock, nose, geopy }:
|
||||
, setuptools_scm, django, dateutil, whoosh, pysolr
|
||||
, coverage, mock, nose, geopy, requests }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-haystack";
|
||||
version = "2.4.1";
|
||||
version = "2.8.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "04cva8qg79xig4zqhb4dwkpm7734dvhzqclzvrdz70fh59ki5b4f";
|
||||
sha256 = "8b54bcc926596765d0a3383d693bcdd76109c7abb6b2323b3984a39e3576028c";
|
||||
};
|
||||
|
||||
doCheck = false; # no tests in source
|
||||
|
||||
checkInputs = [ elasticsearch pysolr whoosh dateutil geopy coverage nose mock coverage ];
|
||||
checkInputs = [ pysolr whoosh dateutil geopy coverage nose mock coverage requests ];
|
||||
propagatedBuildInputs = [ django ];
|
||||
nativeBuildInputs = [ setuptools_scm ];
|
||||
|
||||
patchPhase = ''
|
||||
postPatch = ''
|
||||
sed -i 's/geopy==/geopy>=/' setup.py
|
||||
sed -i 's/whoosh==/Whoosh>=/' setup.py
|
||||
'';
|
||||
|
||||
# ImportError: cannot import name django.contrib.gis.geos.prototypes
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Modular search for Django";
|
||||
homepage = "http://haystacksearch.org/";
|
||||
|
Loading…
Reference in New Issue
Block a user