depot/third_party/nixpkgs/pkgs/development/python-modules/sphinxcontrib-bayesnet/default.nix

33 lines
743 B
Nix
Raw Normal View History

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