Merge pull request #192650 from drupol/add-sphinx-contrib-mscgen
This commit is contained in:
commit
8218d0f6b5
3 changed files with 48 additions and 0 deletions
|
@ -103,6 +103,11 @@ in mkLicense lset) ({
|
||||||
fullName = "Apache License 2.0";
|
fullName = "Apache License 2.0";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
bola11 = {
|
||||||
|
url = "https://blitiri.com.ar/p/bola/";
|
||||||
|
fullName = "Buena Onda License Agreement 1.1";
|
||||||
|
};
|
||||||
|
|
||||||
boost = {
|
boost = {
|
||||||
spdxId = "BSL-1.0";
|
spdxId = "BSL-1.0";
|
||||||
fullName = "Boost Software License 1.0";
|
fullName = "Boost Software License 1.0";
|
||||||
|
|
|
@ -0,0 +1,39 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, pythonOlder
|
||||||
|
, sphinx
|
||||||
|
, mscgen
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "sphinxcontrib-mscgen";
|
||||||
|
version = "0.6";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
hash = "sha256-AXfSWRq3CepT/jNOgHxiYT7vkdKZejPu/LeUqxZ8T5A=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
mscgen
|
||||||
|
sphinx
|
||||||
|
];
|
||||||
|
|
||||||
|
# There are no unit tests
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"sphinxcontrib.mscgen"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Sphinx extension using mscgen to render diagrams";
|
||||||
|
homepage = "https://github.com/sphinx-contrib/mscgen";
|
||||||
|
license = licenses.bola11;
|
||||||
|
maintainers = with maintainers; [ drupol ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -10429,6 +10429,10 @@ in {
|
||||||
|
|
||||||
sphinxcontrib-katex = callPackage ../development/python-modules/sphinxcontrib-katex { };
|
sphinxcontrib-katex = callPackage ../development/python-modules/sphinxcontrib-katex { };
|
||||||
|
|
||||||
|
sphinxcontrib-mscgen = callPackage ../development/python-modules/sphinxcontrib-mscgen {
|
||||||
|
inherit (pkgs) mscgen;
|
||||||
|
};
|
||||||
|
|
||||||
sphinxcontrib-nwdiag = callPackage ../development/python-modules/sphinxcontrib-nwdiag { };
|
sphinxcontrib-nwdiag = callPackage ../development/python-modules/sphinxcontrib-nwdiag { };
|
||||||
|
|
||||||
sphinxcontrib_newsfeed = callPackage ../development/python-modules/sphinxcontrib_newsfeed { };
|
sphinxcontrib_newsfeed = callPackage ../development/python-modules/sphinxcontrib_newsfeed { };
|
||||||
|
|
Loading…
Reference in a new issue