Merge pull request #173730 from snpschaaf/add-mkdocs-drawio-exporter

python3Packages.mkdocs-drawio-exporter: init at 0.8.0
This commit is contained in:
Jacek Galowicz 2022-05-23 14:02:21 +02:00 committed by GitHub
commit eea5502363
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 40 additions and 0 deletions

View File

@ -14607,4 +14607,10 @@
fingerprint = "41EA 00B4 00F9 6970 1CB2 D3AF EF90 E3E9 8B8F 5C0B";
}];
};
snpschaaf = {
email = "philipe.schaaf@secunet.com";
name = "Philippe Schaaf";
github = "snpschaaf";
githubId = 105843013;
};
}

View File

@ -0,0 +1,33 @@
{ buildPythonPackage
, drawio-headless
, fetchPypi
, isPy3k
, lib
, mkdocs
}:
buildPythonPackage rec {
pname = "mkdocs-drawio-exporter";
version = "0.8.0";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-9cvA186FS6bHmpOrv4OfPZ5kRfgfafBfaWxgWJIlwwA=";
};
propagatedBuildInputs = [ mkdocs drawio-headless ];
pythonImportsCheck = [ "mkdocsdrawioexporter" ];
meta = with lib; {
description = "Exports your Draw.io diagrams at build time for easier embedding into your documentation.";
homepage = "https://github.com/LukeCarrier/mkdocs-drawio-exporter/";
license = licenses.mit;
maintainers = with maintainers; [ snpschaaf ];
longDescription = ''
Exports your Draw.io diagrams at build time for easier embedding into your documentation.
'';
};
}

View File

@ -5333,6 +5333,7 @@ in {
mizani = callPackage ../development/python-modules/mizani { };
mkdocs = callPackage ../development/python-modules/mkdocs { };
mkdocs-drawio-exporter = callPackage ../development/python-modules/mkdocs-drawio-exporter { };
mkdocs-material = callPackage ../development/python-modules/mkdocs-material { };
mkdocs-material-extensions = callPackage ../development/python-modules/mkdocs-material/mkdocs-material-extensions.nix { };
mkdocs-minify = callPackage ../development/python-modules/mkdocs-minify { };