3
0
Fork 0
forked from mirrors/nixpkgs

python.pkgs.vega_datasets: init at 0.5.0

This commit is contained in:
Robert Schütz 2018-07-15 15:29:23 +02:00
parent e827b00dbf
commit de0c67572f
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{ lib, buildPythonPackage, fetchPypi, pandas, pytest }:
buildPythonPackage rec {
pname = "vega_datasets";
version = "0.5.0";
src = fetchPypi {
inherit pname version;
sha256 = "1fa672ba89ded093b30c6d59fce10aca3ac7c927df254e588da7b6d14f695181";
};
propagatedBuildInputs = [ pandas ];
checkInputs = [ pytest ];
checkPhase = ''
py.test vega_datasets --doctest-modules
'';
meta = with lib; {
description = "A Python package for offline access to vega datasets";
homepage = https://github.com/altair-viz/vega_datasets;
license = licenses.mit;
};
}

View file

@ -14566,6 +14566,8 @@ in {
};
};
vega_datasets = callPackage ../development/python-modules/vega_datasets { };
virtkey = callPackage ../development/python-modules/virtkey { };
virtual-display = callPackage ../development/python-modules/virtual-display { };