Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 25 lines 616 B view raw
1{ lib, buildPythonPackage, fetchPypi, pandas, pytest }: 2 3buildPythonPackage rec { 4 pname = "vega_datasets"; 5 version = "0.8.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "db8883dab72b6f414e1fafdbf1e8db7543bba6ed77912a4e0c197d74fcfa1c20"; 10 }; 11 12 propagatedBuildInputs = [ pandas ]; 13 14 checkInputs = [ pytest ]; 15 16 checkPhase = '' 17 py.test vega_datasets --doctest-modules -k 'not column_names' 18 ''; 19 20 meta = with lib; { 21 description = "A Python package for offline access to vega datasets"; 22 homepage = "https://github.com/altair-viz/vega_datasets"; 23 license = licenses.mit; 24 }; 25}