{ lib, buildPythonPackage, fetchPypi, python , django, ply }: buildPythonPackage rec { pname = "djangoql"; version = "0.15.2"; src = fetchPypi { inherit pname version; sha256 = "bd9d3accc5e84c439d22211676cf74ab746e557da9bc57afb27fee0ccd00e563"; }; propagatedBuildInputs = [ ply ]; checkInputs = [ django ]; checkPhase = '' export PYTHONPATH=test_project:$PYTHONPATH ${python.executable} test_project/manage.py test core.tests ''; meta = with lib; { description = "Advanced search language for Django"; homepage = "https://github.com/ivelum/djangoql"; license = licenses.mit; maintainers = with maintainers; [ earvstedt ]; }; }