1{ lib, buildPythonPackage, fetchPypi, sphinx, sphinxcontrib-tikz }:
2
3buildPythonPackage rec {
4 pname = "sphinxcontrib-bayesnet";
5 version = "0.1";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "0x1kisvj7221cxfzmwplx3xlwbavl636fpncnjh7gghp1af71clw";
10 };
11
12 propagatedBuildInputs = [ sphinx sphinxcontrib-tikz ];
13
14 # No tests
15 doCheck = false;
16 pythonImportsCheck = [ "sphinxcontrib.bayesnet" ];
17
18 meta = with lib; {
19 homepage = "https://github.com/jluttine/sphinx-bayesnet";
20 description = "Bayesian networks and factor graphs in Sphinx using TikZ syntax";
21 license = licenses.gpl3Only;
22 maintainers = with maintainers; [ jluttine ];
23 };
24}