Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 25 lines 614 B view raw
1{ lib, buildPythonPackage, fetchPypi, pandas, pytest }: 2 3buildPythonPackage rec { 4 pname = "vega_datasets"; 5 version = "0.7.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "20d490b417f84607eb5079400f608f2e9c135b7092bee10f6857f6d23136e459"; 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}