blob: 707b1e5bc6e25d84c8f6c658d95cbc02ad26a325 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
{
stdenv,
buildPythonPackage,
fetchPypi,
inflection,
ruamel_yaml,
setuptools_scm,
six,
coreapi,
djangorestframework,
}:
buildPythonPackage rec {
pname = "drf-yasg";
version = "1.16.1";
src = fetchPypi {
inherit pname version;
sha256 = "0ri5h5xsacm99c6gvb4ldwisbqgiv2vq8qbn7vrh6vplzlpyvzb8";
};
nativeBuildInputs = [
setuptools_scm
];
propagatedBuildInputs = [
six
inflection
ruamel_yaml
coreapi
djangorestframework
];
meta = with stdenv.lib; {
description = "Generation of Swagger/OpenAPI schemas for Django REST Framework";
homepage = https://github.com/axnsan12/drf-yasg;
maintainers = with maintainers; [ ivegotasthma ];
license = licenses.bsd3;
};
}
|