11 django-rest-polymorphic,
13 djangorestframework-camel-case,
14 djangorestframework-dataclasses,
15 djangorestframework-recursive,
16 djangorestframework-simplejwt,
19 drf-spectacular-sidecar,
33 buildPythonPackage rec {
34 pname = "drf-spectacular";
38 disabled = pythonOlder "3.7";
40 src = fetchFromGitHub {
42 repo = "drf-spectacular";
43 rev = "refs/tags/${version}";
44 hash = "sha256-lOgFDkAY+PqSeyLSvWFT7KPVicSJZxd6yl17GAGHbRs=";
49 # https://github.com/tfranzel/drf-spectacular/pull/1090
50 url = "https://github.com/tfranzel/drf-spectacular/commit/8db4c2458f8403c53db0db352dd94057d285814b.patch";
51 hash = "sha256-Ue5y7IB4ie+9CEineMBgMMCLGiF4zqmn60TJvKsV1h0=";
55 build-system = [ setuptools ];
73 django-rest-polymorphic
74 djangorestframework-camel-case
75 djangorestframework-dataclasses
76 djangorestframework-recursive
77 djangorestframework-simplejwt
80 drf-spectacular-sidecar
87 # Test requires django with gdal
88 "test_rest_framework_gis"
89 # Outdated test artifact
90 "test_pydantic_decoration"
91 "test_knox_auth_token"
94 pythonImportsCheck = [ "drf_spectacular" ];
97 description = "Sane and flexible OpenAPI 3 schema generation for Django REST framework";
98 homepage = "https://github.com/tfranzel/drf-spectacular";
99 changelog = "https://github.com/tfranzel/drf-spectacular/releases/tag/${version}";
100 license = licenses.bsd3;