summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/sphinxcontrib-bayesnet/default.nix
blob: fb6cf370dcbc42396019781137de71a4970920e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
  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 = {
    homepage = "https://github.com/jluttine/sphinx-bayesnet";
    description = "Bayesian networks and factor graphs in Sphinx using TikZ syntax";
    license = lib.licenses.gpl3Only;
    maintainers = with lib.maintainers; [ jluttine ];
  };
}