1 { lib, buildPythonPackage, fetchPypi, isPy27
19 buildPythonPackage rec {
25 inherit pname version;
26 sha256 = "0c99q5dy6f275yg1f137ird08wmwc1z8wmvjickkf2mvyka31p9y";
29 propagatedBuildInputs = [
37 ] ++ lib.optionals (pythonOlder "3.5") [ typing ];
48 pythonImportsCheck = [ "altair" ];
51 export LANG=en_US.UTF-8
52 # histogram_responsive.py attempt network access, and cannot be disabled through pytest flags
53 rm altair/examples/histogram_responsive.py
54 pytest --doctest-modules altair
58 description = "A declarative statistical visualization library for Python.";
59 homepage = "https://github.com/altair-viz/altair";
60 license = licenses.bsd3;
61 maintainers = with maintainers; [ teh ];
62 platforms = platforms.unix;