pythonPackages.djangoql: init at 0.12.6
This commit is contained in:
parent
e401666503
commit
76218fdc3a
28
pkgs/development/python-modules/djangoql/default.nix
Normal file
28
pkgs/development/python-modules/djangoql/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -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 { };
|
||||||
|
Loading…
Reference in New Issue
Block a user