depot/third_party/nixpkgs/pkgs/development/python-modules/sphinxcontrib-bayesnet/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

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 ];
};
}