21 buildPythonPackage rec {
22 pname = "django-graphiql-debug-toolbar";
25 disabled = pythonOlder "3.6";
27 src = fetchFromGitHub {
31 sha256 = "0fikr7xl786jqfkjdifymqpqnxy4qj8g3nlkgfm24wwq0za719dw";
35 # Add compatibility for py-django-debug-toolbar >= 4.4.6
36 # https://github.com/flavors/django-graphiql-debug-toolbar/pull/27
38 url = "https://github.com/flavors/django-graphiql-debug-toolbar/commit/2b42fdb1bc40109d9bb0ae1fb4d2163d13904724.patch";
39 hash = "sha256-ywTLqXlAxA2DCacrJOqmB7jSzfpeuGTX2ETu0fKmhq4=";
43 build-system = [ poetry-core ];
51 pythonImportsCheck = [ "graphiql_debug_toolbar" ];
59 export DB_BACKEND=sqlite
60 export DB_NAME=:memory:
61 export DJANGO_SETTINGS_MODULE=tests.settings
65 changelog = "https://github.com/flavors/django-graphiql-debug-toolbar/releases/tag/${src.rev}";
66 description = "Django Debug Toolbar for GraphiQL IDE";
67 homepage = "https://github.com/flavors/django-graphiql-debug-toolbar";
68 license = licenses.mit;
69 maintainers = with maintainers; [ hexa ];