2022-06-16 17:23:12 +00:00
|
|
|
{ stdenv, lib, buildPythonPackage, fetchPypi, sphinx, sphinxcontrib-tikz }:
|
2021-04-12 18:23:04 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "sphinxcontrib-bayesnet";
|
2023-01-20 10:41:00 +00:00
|
|
|
version = "0.4";
|
2021-04-12 18:23:04 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-01-20 10:41:00 +00:00
|
|
|
sha256 = "sha256-+M+K8WzQqxQUGgAgGPK+isf3gKK7HOrdI6nNW/V8Wv0=";
|
2021-04-12 18:23:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
2022-06-26 10:26:21 +00:00
|
|
|
broken = true; # relies on 2to3 conversion, which was removed from setuptools>=58.0
|
2021-04-12 18:23:04 +00:00
|
|
|
};
|
|
|
|
}
|