19 buildPythonPackage rec {
20 pname = "django-haystack";
24 disabled = pythonOlder "3.8";
27 pname = "django_haystack";
29 hash = "sha256-487ta4AAYl2hTUCetNrGmJSQXirIrBj5v9tZMjygLqs=";
37 buildInputs = [ django ];
39 dependencies = [ packaging ];
41 optional-dependencies = {
42 elasticsearch = [ elasticsearch ];
45 # tests fail and get stuck on darwin
46 doCheck = !stdenv.hostPlatform.isDarwin;
54 ] ++ optional-dependencies.elasticsearch;
58 python test_haystack/run_tests.py
63 description = "Pluggable search for Django";
64 homepage = "http://haystacksearch.org/";
65 changelog = "https://github.com/django-haystack/django-haystack/releases/tag/v${version}";
66 license = licenses.bsd3;