Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
927 B · 60 lines
Nix
at litex
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061{ lib, buildPythonPackage, pythonOlder, fetchPypi
# build dependencies, setuptools-scm
# dependencies, django
# tests, geopy, nose, pysolr, python-dateutil, requests, whoosh}:
buildPythonPackage rec { pname = "django-haystack"; version = "3.2.1"; format = "setuptools"; disabled = pythonOlder "3.5";
src = fetchPypi { inherit pname version; hash = "sha256-l+MZeu/CJf5AW28XYAolNL+CfLTWdDEwwgvBoG9yk6Q="; };
postPatch = '' substituteInPlace setup.py \ --replace "geopy==" "geopy>=" '';
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [ django ];
nativeCheckInputs = [ geopy nose pysolr python-dateutil requests whoosh ];
meta = with lib; { description = "Pluggable search for Django"; homepage = "http://haystacksearch.org/"; license = licenses.bsd3; maintainers = with maintainers; [ ]; };}