tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
python312Packages.dj-rest-auth: format with nixfmt
Fabian Affolter
2 years ago
5c1d3a46
f3bf21db
+18
-27
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
dj-rest-auth
default.nix
+18
-27
pkgs/development/python-modules/dj-rest-auth/default.nix
···
1
1
-
{ lib
2
2
-
, buildPythonPackage
3
3
-
, django
4
4
-
, django-allauth
5
5
-
, djangorestframework
6
6
-
, djangorestframework-simplejwt
7
7
-
, fetchFromGitHub
8
8
-
, python
9
9
-
, pythonOlder
10
10
-
, responses
11
11
-
, setuptools
12
12
-
, unittest-xml-reporting
1
1
+
{
2
2
+
lib,
3
3
+
buildPythonPackage,
4
4
+
django,
5
5
+
django-allauth,
6
6
+
djangorestframework,
7
7
+
djangorestframework-simplejwt,
8
8
+
fetchFromGitHub,
9
9
+
python,
10
10
+
pythonOlder,
11
11
+
responses,
12
12
+
setuptools,
13
13
+
unittest-xml-reporting,
13
14
}:
14
15
15
16
buildPythonPackage rec {
···
33
34
--replace-fail "assertEquals" "assertEqual"
34
35
'';
35
36
36
36
-
build-system = [
37
37
-
setuptools
38
38
-
];
37
37
+
build-system = [ setuptools ];
39
38
40
40
-
buildInputs = [
41
41
-
django
42
42
-
];
39
39
+
buildInputs = [ django ];
43
40
44
44
-
dependencies = [
45
45
-
djangorestframework
46
46
-
];
41
41
+
dependencies = [ djangorestframework ];
47
42
48
48
-
passthru.optional-dependencies.with_social = [
49
49
-
django-allauth
50
50
-
];
43
43
+
passthru.optional-dependencies.with_social = [ django-allauth ];
51
44
52
45
nativeCheckInputs = [
53
46
djangorestframework-simplejwt
···
67
60
runHook postCheck
68
61
'';
69
62
70
70
-
pythonImportsCheck = [
71
71
-
"dj_rest_auth"
72
72
-
];
63
63
+
pythonImportsCheck = [ "dj_rest_auth" ];
73
64
74
65
meta = with lib; {
75
66
description = "Authentication for Django Rest Framework";