Merge pull request #116934 from jluttine/init-sphinxcontrib-bayesnet

This commit is contained in:
Sandro 2021-04-12 01:22:02 +02:00 committed by GitHub
commit 369c9e7c62
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{ lib, buildPythonPackage, fetchPypi, sphinx, sphinxcontrib-tikz }:
buildPythonPackage rec {
pname = "sphinxcontrib-bayesnet";
version = "0.1";
src = fetchPypi {
inherit pname version;
sha256 = "0x1kisvj7221cxfzmwplx3xlwbavl636fpncnjh7gghp1af71clw";
};
propagatedBuildInputs = [ sphinx sphinxcontrib-tikz ];
# No tests
doCheck = false;
pythonImportsCheck = [ "sphinxcontrib.bayesnet" ];
meta = with lib; {
homepage = "https://github.com/jluttine/sphinx-bayesnet";
description = "Bayesian networks and factor graphs in Sphinx using TikZ syntax";
license = licenses.gpl3Only;
maintainers = with maintainers; [ jluttine ];
};
}

View file

@ -7959,6 +7959,8 @@ in {
sphinxcontrib-autoapi = callPackage ../development/python-modules/sphinxcontrib-autoapi { };
sphinxcontrib-bayesnet = callPackage ../development/python-modules/sphinxcontrib-bayesnet { };
sphinxcontrib-bibtex = callPackage ../development/python-modules/sphinxcontrib-bibtex { };
sphinxcontrib-blockdiag = callPackage ../development/python-modules/sphinxcontrib-blockdiag { };