fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
36 lines
760 B
Nix
36 lines
760 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
sphinx,
|
|
sphinxcontrib-tikz,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "sphinxcontrib-bayesnet";
|
|
version = "0.4";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-+M+K8WzQqxQUGgAgGPK+isf3gKK7HOrdI6nNW/V8Wv0=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
sphinx
|
|
sphinxcontrib-tikz
|
|
];
|
|
|
|
# No tests
|
|
doCheck = false;
|
|
pythonImportsCheck = [ "sphinxcontrib.bayesnet" ];
|
|
|
|
pythonNamespaces = [ "sphinxcontrib" ];
|
|
|
|
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 ];
|
|
};
|
|
}
|