git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #20022 from teh/altair

Altair

commitec2ca34933f720c01b77a77ca6db738cfa608a43 authorDomen Kožar <domen@dev.si> dateTue 1 Nov 2016, 22:15 (10 years ago) parentd6247cfbca7914
1 file changed+42
pkgs/top-level/python-packages.nix+42
pkgs/top-level/python-packages.nix+42
@@ -364,6 +364,48 @@ in {
364364 };
365365 };
366366
367+ altair = buildPythonPackage rec {
368+ name = "altair-1.0.0";
369+
370+ src = pkgs.fetchurl {
371+ url = "mirror://pypi/a/altair/${name}.tar.gz";
372+ sha256 = "024drhmiw8w3dl7dbal0pvnlfd3sv4n1rqywv2jb488b3fzm704r";
373+ };
374+
375+ propagatedBuildInputs = with self; [ vega pandas ipython traitlets ];
376+
377+ meta = {
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 ];
383+ };
384+ };
385+ vega = buildPythonPackage rec {
386+ name = "vega-0.4.4";
387+
388+ src = pkgs.fetchurl {
389+ url = "mirror://pypi/v/vega/${name}.tar.gz";
390+ sha256 = "08k92afnk0bivm07h1l5nh26xl2rfp7qn03aq17q1hr3fs5r6cdm";
391+ };
392+
393+ propagatedBuildInputs = with self; [ jupyter_core pandas ];
394+
395+ meta = {
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:
399+
400+ jupyter nbextension install --user --py vega
401+ jupyter nbextension enable --user vega
402+ '';
403+ homepage = https://github.com/vega/ipyvega;
404+ license = licenses.bsd3;
405+ platforms = platforms.linux;
406+ maintainers = with maintainers; [ teh ];
407+ };
408+ };
367409 acme_0_5_0 = buildPythonPackage rec {
368410 version = "0.5.0";
369411 name = "acme-${version}";