12 buildPythonPackage rec {
15 format = "setuptools";
17 disabled = pythonOlder "3.7";
19 src = fetchFromGitHub {
20 owner = "python-visualization";
22 rev = "refs/tags/v${version}";
23 hash = "sha256-9imrW4u2Ea1q7VKgk6Vs8y2OiSzAPr3W6471pi/gVm4=";
27 # We don't want flake8
31 nativeBuildInputs = [ setuptools-scm ];
33 propagatedBuildInputs = [ jinja2 ];
40 pythonImportsCheck = [ "branca" ];
43 # Some tests require a browser
44 "tests/test_utilities.py"
48 "test_rendering_utf8_iframe"
49 "test_rendering_figure_notebook"
53 description = "Generate complex HTML+JS pages with Python";
54 homepage = "https://github.com/python-visualization/branca";
55 changelog = "https://github.com/python-visualization/branca/blob/v${version}/CHANGES.txt";
56 license = with licenses; [ mit ];