1{ stdenv, lib, buildPythonPackage, fetchPypi, sphinx, sphinxcontrib-tikz }:
2
3buildPythonPackage rec {
4 pname = "sphinxcontrib-bayesnet";
5 version = "0.4";
6
7 src = fetchPypi {
8 inherit pname version;
9 hash = "sha256-+M+K8WzQqxQUGgAgGPK+isf3gKK7HOrdI6nNW/V8Wv0=";
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 broken = true; # relies on 2to3 conversion, which was removed from setuptools>=58.0
24 };
25}