Skip to content

Commit

Permalink
python3Packages.sphinxcontrib-mscgen: init at 0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Sep 28, 2022
1 parent b89b4f8 commit 19b2faf
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
39 changes: 39 additions & 0 deletions pkgs/development/python-modules/sphinxcontrib-mscgen/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
4 changes: 4 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10396,6 +10396,10 @@ in {

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_newsfeed = callPackage ../development/python-modules/sphinxcontrib_newsfeed { };
Expand Down

0 comments on commit 19b2faf

Please sign in to comment.