depot/third_party/nixpkgs/pkgs/development/python-modules/sphinxcontrib-bayesnet/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

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