28 lines
848 B
Nix
28 lines
848 B
Nix
# WARNING: This file was automatically generated. You should avoid editing it.
|
|
# If you run pynixify again, the file will be either overwritten or
|
|
# deleted, and you will lose the changes you made to it.
|
|
|
|
{ buildPythonPackage, django, djangorestframework, fetchPypi, inflection
|
|
, jsonschema, lib, pyyaml, uritemplate }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "drf-spectacular";
|
|
version = "0.13.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "12n39sq5abb93z8lsmcpg0p9kb5zc3nr7y5n690svf0grlgilw2k";
|
|
};
|
|
|
|
propagatedBuildInputs =
|
|
[ django djangorestframework uritemplate pyyaml jsonschema inflection ];
|
|
|
|
# TODO FIXME
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description =
|
|
"Sane and flexible OpenAPI 3 schema generation for Django REST framework";
|
|
homepage = "https://github.com/tfranzel/drf-spectacular";
|
|
};
|
|
}
|