Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, sphinx 5, sphinxcontrib-tikz 6}: 7 8buildPythonPackage rec { 9 pname = "sphinxcontrib-bayesnet"; 10 version = "0.4"; 11 format = "setuptools"; 12 13 src = fetchPypi { 14 inherit pname version; 15 hash = "sha256-+M+K8WzQqxQUGgAgGPK+isf3gKK7HOrdI6nNW/V8Wv0="; 16 }; 17 18 propagatedBuildInputs = [ sphinx sphinxcontrib-tikz ]; 19 20 # No tests 21 doCheck = false; 22 pythonImportsCheck = [ "sphinxcontrib.bayesnet" ]; 23 24 meta = with lib; { 25 homepage = "https://github.com/jluttine/sphinx-bayesnet"; 26 description = "Bayesian networks and factor graphs in Sphinx using TikZ syntax"; 27 license = licenses.gpl3Only; 28 maintainers = with maintainers; [ jluttine ]; 29 }; 30}