Merge pull request #20022 from teh/altair

Altair
This commit is contained in:
Domen Kožar 2016-11-01 22:15:51 +01:00 committed by GitHub
commit ec2ca34933

View file

@ -364,6 +364,48 @@ in {
};
};
altair = buildPythonPackage rec {
name = "altair-1.0.0";
src = pkgs.fetchurl {
url = "mirror://pypi/a/altair/${name}.tar.gz";
sha256 = "024drhmiw8w3dl7dbal0pvnlfd3sv4n1rqywv2jb488b3fzm704r";
};
propagatedBuildInputs = with self; [ vega pandas ipython traitlets ];
meta = {
description = "A declarative statistical visualization library for Python.";
homepage = https://github.com/altair-viz/altair;
license = licenses.bsd3;
platforms = platforms.linux;
maintainers = with maintainers; [ teh ];
};
};
vega = buildPythonPackage rec {
name = "vega-0.4.4";
src = pkgs.fetchurl {
url = "mirror://pypi/v/vega/${name}.tar.gz";
sha256 = "08k92afnk0bivm07h1l5nh26xl2rfp7qn03aq17q1hr3fs5r6cdm";
};
propagatedBuildInputs = with self; [ jupyter_core pandas ];
meta = {
description = " An IPython/Jupyter widget for Vega and Vega-Lite.";
longDescription = ''
To use this you have to enter a nix-shell with vega. Then run:
jupyter nbextension install --user --py vega
jupyter nbextension enable --user vega
'';
homepage = https://github.com/vega/ipyvega;
license = licenses.bsd3;
platforms = platforms.linux;
maintainers = with maintainers; [ teh ];
};
};
acme_0_5_0 = buildPythonPackage rec {
version = "0.5.0";
name = "acme-${version}";