at 17.09-beta 846 B view raw
1{ stdenv, buildPythonPackage , fetchPypi 2, pytest, jupyter_core, pandas }: 3 4buildPythonPackage rec { 5 pname = "vega"; 6 version = "0.5.0"; 7 name = "${pname}-${version}"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "9871bce3a00bb775d9f7f8212aa237f99f11ca7cfe6ecf246773f5559f20c38c"; 12 }; 13 14 buildInputs = [ pytest ]; 15 propagatedBuildInputs = [ jupyter_core pandas ]; 16 17 meta = with stdenv.lib; { 18 description = "An IPython/Jupyter widget for Vega and Vega-Lite"; 19 longDescription = '' 20 To use this you have to enter a nix-shell with vega. Then run: 21 22 jupyter nbextension install --user --py vega 23 jupyter nbextension enable --user vega 24 ''; 25 homepage = https://github.com/vega/ipyvega; 26 license = licenses.bsd3; 27 maintainers = with maintainers; [ teh ]; 28 platforms = platforms.linux; 29 }; 30}