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