From 5142165d808076fd26fdd5c4a32d18d585ca40d0 Mon Sep 17 00:00:00 2001 From: Tom Hunger Date: Mon, 31 Oct 2016 12:36:47 +0000 Subject: [PATCH] vega: init at 0.4.4 --- pkgs/top-level/python-packages.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 185043b27e3c..c5eed1f8bde4 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -364,6 +364,30 @@ in { }; }; + 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}";