9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
30 lines
700 B
Nix
30 lines
700 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" ];
|
|
|
|
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 ];
|
|
};
|
|
}
|