16 # Build, dev and test dependencies
24 buildPythonPackage rec {
28 disabled = pythonOlder "3.8";
30 src = fetchFromGitHub {
33 rev = "refs/tags/v${version}";
34 hash = "sha256-30M+rt5IfD4hvK5CwaW8HfQacDBPjowff/f9o7iido0=";
41 propagatedBuildInputs = [
48 ] ++ lib.optional (pythonOlder "3.11") typing-extensions;
58 pythonImportsCheck = [ "altair" ];
61 # Disabled because it requires internet connectivity
62 "tests/test_examples.py"
63 # TODO: Disabled because of missing altair_viewer package
64 "tests/vegalite/v5/test_api.py"
65 # avoid updating files and dependency on black
66 "tests/test_toplevel.py"
67 # require vl-convert package
68 "tests/utils/test_compiler.py"
72 description = "A declarative statistical visualization library for Python.";
73 homepage = "https://altair-viz.github.io";
74 downloadPage = "https://github.com/altair-viz/altair";
75 changelog = "https://altair-viz.github.io/releases/changes.html";
76 license = licenses.bsd3;
77 maintainers = with maintainers; [ teh vinetos ];