@@ -364,6 +364,48 @@ in {
367+ altair = buildPythonPackage rec {
368+ name = "altair-1.0.0";
370+ src = pkgs.fetchurl {
371+ url = "mirror://pypi/a/altair/${name}.tar.gz";
372+ sha256 = "024drhmiw8w3dl7dbal0pvnlfd3sv4n1rqywv2jb488b3fzm704r";
375+ propagatedBuildInputs = with self; [ vega pandas ipython traitlets ];
378+ description = "A declarative statistical visualization library for Python.";
379+ homepage = https://github.com/altair-viz/altair;
380+ license = licenses.bsd3;
381+ platforms = platforms.linux;
382+ maintainers = with maintainers; [ teh ];
385+ vega = buildPythonPackage rec {
386+ name = "vega-0.4.4";
388+ src = pkgs.fetchurl {
389+ url = "mirror://pypi/v/vega/${name}.tar.gz";
390+ sha256 = "08k92afnk0bivm07h1l5nh26xl2rfp7qn03aq17q1hr3fs5r6cdm";
393+ propagatedBuildInputs = with self; [ jupyter_core pandas ];
396+ description = " An IPython/Jupyter widget for Vega and Vega-Lite.";
397+ longDescription = ''
398+ To use this you have to enter a nix-shell with vega. Then run:
400+ jupyter nbextension install --user --py vega
401+ jupyter nbextension enable --user vega
403+ homepage = https://github.com/vega/ipyvega;
404+ license = licenses.bsd3;
405+ platforms = platforms.linux;
406+ maintainers = with maintainers; [ teh ];
367 acme_0_5_0 = buildPythonPackage rec {
409 acme_0_5_0 = buildPythonPackage rec {
368 version = "0.5.0";
410 version = "0.5.0";
369 name = "acme-${version}";
411 name = "acme-${version}";