1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 sphinx, 6 sphinxcontrib-tikz, 7}: 8 9buildPythonPackage rec { 10 pname = "sphinxcontrib-bayesnet"; 11 version = "0.4"; 12 format = "setuptools"; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-+M+K8WzQqxQUGgAgGPK+isf3gKK7HOrdI6nNW/V8Wv0="; 17 }; 18 19 propagatedBuildInputs = [ 20 sphinx 21 sphinxcontrib-tikz 22 ]; 23 24 # No tests 25 doCheck = false; 26 pythonImportsCheck = [ "sphinxcontrib.bayesnet" ]; 27 28 pythonNamespaces = [ "sphinxcontrib" ]; 29 30 meta = with lib; { 31 homepage = "https://github.com/jluttine/sphinx-bayesnet"; 32 description = "Bayesian networks and factor graphs in Sphinx using TikZ syntax"; 33 license = licenses.gpl3Only; 34 maintainers = with maintainers; [ jluttine ]; 35 }; 36}