summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/drf-ujson2/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/drf-ujson2/default.nix')
-rw-r--r--pkgs/development/python-modules/drf-ujson2/default.nix27
1 files changed, 13 insertions, 14 deletions
diff --git a/pkgs/development/python-modules/drf-ujson2/default.nix b/pkgs/development/python-modules/drf-ujson2/default.nix
index 58277fca7ed6..bf500258a025 100644
--- a/pkgs/development/python-modules/drf-ujson2/default.nix
+++ b/pkgs/development/python-modules/drf-ujson2/default.nix
@@ -1,16 +1,17 @@
-{ lib
-, buildPythonPackage
-, fetchFromGitHub
+{
+ lib,
+ buildPythonPackage,
+ fetchFromGitHub,
-# dependencies
-, django
-, djangorestframework
-, ujson
+ # dependencies
+ django,
+ djangorestframework,
+ ujson,
-# tests
-, pytest-django
-, pytest-mock
-, pytestCheckHook
+ # tests
+ pytest-django,
+ pytest-mock,
+ pytestCheckHook,
}:
buildPythonPackage rec {
@@ -29,9 +30,7 @@ buildPythonPackage rec {
sed -i '/--cov/d' setup.cfg
'';
- buildInputs = [
- django
- ];
+ buildInputs = [ django ];
propagatedBuildInputs = [
djangorestframework