Something went wrong. Try again.
lol
Something went wrong. Try again.
1.1 kB · 57 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758{ lib, buildPythonPackage, fetchFromGitHub, jinja2, pytestCheckHook, setuptools-scm, selenium,}:
buildPythonPackage rec { pname = "branca"; version = "0.8.2"; pyproject = true;
src = fetchFromGitHub { owner = "python-visualization"; repo = "branca"; tag = "v${version}"; hash = "sha256-H5hHQI4r0QavygQZzEZAEp+cjra5R9m/OoGHQPtnBg0="; };
postPatch = '' # We don't want flake8 rm setup.cfg '';
build-system = [ setuptools-scm ];
dependencies = [ jinja2 ];
nativeCheckInputs = [ pytestCheckHook selenium ];
pythonImportsCheck = [ "branca" ];
disabledTestPaths = [ # Some tests require a browser "tests/test_utilities.py" "tests/test_iframe.py" ];
disabledTests = [ "test_rendering_utf8_iframe" "test_rendering_figure_notebook" ];
meta = { description = "Generate complex HTML+JS pages with Python"; homepage = "https://github.com/python-visualization/branca"; changelog = "https://github.com/python-visualization/branca/blob/${src.tag}/CHANGES.txt"; license = with lib.licenses; [ mit ]; maintainers = [ ]; };}