nixpkgs/pkgs/development/python-modules/djangoql/default.nix
R. RyanTM cae2ade1f9 python37Packages.djangoql: 0.12.6 -> 0.13.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-djangoql/versions
2019-10-03 08:50:24 -07:00

29 lines
671 B
Nix

{ lib, buildPythonPackage, fetchPypi, python
, django, ply }:
buildPythonPackage rec {
pname = "djangoql";
version = "0.13.0";
src = fetchPypi {
inherit pname version;
sha256 = "0hkg0zh8w6f4krbrv4nl66blrx48yixgc8ikf915415ghlqfsbjj";
};
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 ];
};
}