forked from mirrors/nixpkgs
python.pkgs.vega_datasets: init at 0.5.0
This commit is contained in:
parent
e827b00dbf
commit
de0c67572f
25
pkgs/development/python-modules/vega_datasets/default.nix
Normal file
25
pkgs/development/python-modules/vega_datasets/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue