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
-
{ lib
2
-
, buildPythonPackage
3
-
, django
4
-
, django-allauth
5
-
, djangorestframework
6
-
, djangorestframework-simplejwt
7
-
, fetchFromGitHub
8
-
, python
9
-
, pythonOlder
10
-
, responses
11
-
, setuptools
12
-
, unittest-xml-reporting
0
13
}:
14
15
buildPythonPackage rec {
···
33
--replace-fail "assertEquals" "assertEqual"
34
'';
35
36
-
build-system = [
37
-
setuptools
38
-
];
39
40
-
buildInputs = [
41
-
django
42
-
];
43
44
-
dependencies = [
45
-
djangorestframework
46
-
];
47
48
-
passthru.optional-dependencies.with_social = [
49
-
django-allauth
50
-
];
51
52
nativeCheckInputs = [
53
djangorestframework-simplejwt
···
67
runHook postCheck
68
'';
69
70
-
pythonImportsCheck = [
71
-
"dj_rest_auth"
72
-
];
73
74
meta = with lib; {
75
description = "Authentication for Django Rest Framework";
···
1
+
{
2
+
lib,
3
+
buildPythonPackage,
4
+
django,
5
+
django-allauth,
6
+
djangorestframework,
7
+
djangorestframework-simplejwt,
8
+
fetchFromGitHub,
9
+
python,
10
+
pythonOlder,
11
+
responses,
12
+
setuptools,
13
+
unittest-xml-reporting,
14
}:
15
16
buildPythonPackage rec {
···
34
--replace-fail "assertEquals" "assertEqual"
35
'';
36
37
+
build-system = [ setuptools ];
0
0
38
39
+
buildInputs = [ django ];
0
0
40
41
+
dependencies = [ djangorestframework ];
0
0
42
43
+
passthru.optional-dependencies.with_social = [ django-allauth ];
0
0
44
45
nativeCheckInputs = [
46
djangorestframework-simplejwt
···
60
runHook postCheck
61
'';
62
63
+
pythonImportsCheck = [ "dj_rest_auth" ];
0
0
64
65
meta = with lib; {
66
description = "Authentication for Django Rest Framework";