nixpkgs/pkgs/development/python-modules/sphinxcontrib-bayesnet/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

26 lines
767 B
Nix

{ stdenv, lib, buildPythonPackage, fetchPypi, sphinx, sphinxcontrib-tikz }:
buildPythonPackage rec {
pname = "sphinxcontrib-bayesnet";
version = "0.4";
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 ];
broken = true; # relies on 2to3 conversion, which was removed from setuptools>=58.0
};
}