summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/django-compressor/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/django-compressor/default.nix')
-rw-r--r--pkgs/development/python-modules/django-compressor/default.nix43
1 files changed, 21 insertions, 22 deletions
diff --git a/pkgs/development/python-modules/django-compressor/default.nix b/pkgs/development/python-modules/django-compressor/default.nix
index 543c483023df..086987f4dabc 100644
--- a/pkgs/development/python-modules/django-compressor/default.nix
+++ b/pkgs/development/python-modules/django-compressor/default.nix
@@ -1,25 +1,26 @@
-{ lib
-, buildPythonPackage
-, fetchPypi
-, pythonRelaxDepsHook
+{
+ lib,
+ buildPythonPackage,
+ fetchPypi,
+ pythonRelaxDepsHook,
-# build-system
-, setuptools
+ # build-system
+ setuptools,
-# dependencies
-, calmjs
-, django-appconf
-, jinja2
-, rcssmin
-, rjsmin
+ # dependencies
+ calmjs,
+ django-appconf,
+ jinja2,
+ rcssmin,
+ rjsmin,
-# tests
-, beautifulsoup4
-, brotli
-, csscompressor
-, django-sekizai
-, pytestCheckHook
-, pytest-django
+ # tests
+ beautifulsoup4,
+ brotli,
+ csscompressor,
+ django-sekizai,
+ pytestCheckHook,
+ pytest-django,
}:
@@ -67,9 +68,7 @@ buildPythonPackage rec {
# Getting error: compressor.exceptions.OfflineGenerationError: You have
# offline compression enabled but key "..." is missing from offline manifest.
# You may need to run "python manage.py compress"
- disabledTestPaths = [
- "compressor/tests/test_offline.py"
- ];
+ disabledTestPaths = [ "compressor/tests/test_offline.py" ];
pythonImportsCheck = [ "compressor" ];