32 lines
678 B
Nix
32 lines
678 B
Nix
{ buildPythonPackage
|
|
, drawio-headless
|
|
, fetchPypi
|
|
, isPy3k
|
|
, lib
|
|
, mkdocs
|
|
, beautifulsoup4
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mkdocs-swagger-ui-tag";
|
|
version = "0.5.1";
|
|
|
|
disabled = !isPy3k;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-CAIQbSg8o+FxPqb/O9ML1b6OxmmH4c+RRU4ecHyfn8w=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ mkdocs beautifulsoup4 ];
|
|
|
|
pythonImportsCheck = [ "mkdocs_swagger_ui_tag" ];
|
|
|
|
meta = with lib; {
|
|
description = "A MkDocs plugin supports for add Swagger UI in page.";
|
|
homepage = "https://github.com/Blueswen/mkdocs-swagger-ui-tag";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ snpschaaf ];
|
|
};
|
|
}
|