pythonPackages.djangoql: init at 0.12.6

This commit is contained in:
Erik Arvstedt 2019-01-27 15:26:29 +01:00
parent e401666503
commit 76218fdc3a
No known key found for this signature in database
GPG Key ID: 33312B944DD97846
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,28 @@
{ lib, buildPythonPackage, fetchPypi, python
, django, ply }:
buildPythonPackage rec {
pname = "djangoql";
version = "0.12.6";
src = fetchPypi {
inherit pname version;
sha256 = "1mwv1ljznj9mn74ncvcyfmj6ygs8xm2rajpxm88gcac9hhdmk5gs";
};
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 ];
};
}

View File

@ -2489,6 +2489,8 @@ in {
django_pipeline = callPackage ../development/python-modules/django-pipeline { }; django_pipeline = callPackage ../development/python-modules/django-pipeline { };
djangoql = callPackage ../development/python-modules/djangoql { };
dj-database-url = callPackage ../development/python-modules/dj-database-url { }; dj-database-url = callPackage ../development/python-modules/dj-database-url { };
dj-email-url = callPackage ../development/python-modules/dj-email-url { }; dj-email-url = callPackage ../development/python-modules/dj-email-url { };