blob: c24b66bdfdce88385c9e02dfe8e7d79f38352612 (
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
|
{
lib,
buildPythonPackage,
fetchPypi,
# build-system
poetry-core,
# dependencies
jinja2,
}:
buildPythonPackage rec {
pname = "swagger-ui-bundle";
version = "1.1.0";
pyproject = true;
src = fetchPypi {
pname = "swagger_ui_bundle";
inherit version;
hash = "sha256-IGc8NDHIcz1dFhXs952azzDP91ICrK8hp9nH9IlxRSk=";
};
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ jinja2 ];
# package contains no tests
doCheck = false;
meta = {
description = "Bundled swagger-ui pip package";
homepage = "https://github.com/dtkav/swagger_ui_bundle";
license = lib.licenses.asl20;
};
}
|