0d9fc34957
GitOrigin-RevId: 5ed481943351e9fd354aeb557679624224de38d5
25 lines
769 B
Nix
25 lines
769 B
Nix
{ stdenv, lib, buildPythonPackage, fetchPypi, sphinx, sphinxcontrib-tikz }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "sphinxcontrib-bayesnet";
|
|
version = "0.4";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "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 ];
|
|
broken = true; # relies on 2to3 conversion, which was removed from setuptools>=58.0
|
|
};
|
|
}
|