mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 23:52:33 +00:00
pythonPackages.datashader: init at 0.7.0
This commit is contained in:
parent
cebcbc24c7
commit
30169d9493
85
pkgs/development/python-modules/datashader/default.nix
Normal file
85
pkgs/development/python-modules/datashader/default.nix
Normal file
|
@ -0,0 +1,85 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, dask
|
||||
, distributed
|
||||
, bokeh
|
||||
, toolz
|
||||
, datashape
|
||||
, numba
|
||||
, numpy
|
||||
, pandas
|
||||
, pillow
|
||||
, xarray
|
||||
, colorcet
|
||||
, param
|
||||
, pyct
|
||||
, pyyaml
|
||||
, requests
|
||||
, scikitimage
|
||||
, scipy
|
||||
, pytest
|
||||
, pytest-benchmark
|
||||
, flake8
|
||||
, nbsmoke
|
||||
, fastparquet
|
||||
, testpath
|
||||
, nbconvert
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "datashader";
|
||||
version = "0.7.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "5baf218713dc1ad4791f7bcf606ef8f618273945e788c59f9573aebd7cb851f8";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dask
|
||||
distributed
|
||||
bokeh
|
||||
toolz
|
||||
datashape
|
||||
numba
|
||||
numpy
|
||||
pandas
|
||||
pillow
|
||||
xarray
|
||||
colorcet
|
||||
param
|
||||
pyct
|
||||
pyyaml
|
||||
requests
|
||||
scikitimage
|
||||
scipy
|
||||
testpath
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytest
|
||||
pytest-benchmark
|
||||
flake8
|
||||
nbsmoke
|
||||
fastparquet
|
||||
pandas
|
||||
nbconvert
|
||||
];
|
||||
|
||||
postConfigure = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "'testpath<0.4'" "'testpath'"
|
||||
'';
|
||||
|
||||
checkPhase = ''
|
||||
pytest datashader
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Data visualization toolchain based on aggregating into a grid";
|
||||
homepage = https://datashader.org;
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
|
@ -484,6 +484,8 @@ in {
|
|||
|
||||
datasette = callPackage ../development/python-modules/datasette { };
|
||||
|
||||
datashader = callPackage ../development/python-modules/datashader { };
|
||||
|
||||
dbf = callPackage ../development/python-modules/dbf { };
|
||||
|
||||
dbfread = callPackage ../development/python-modules/dbfread { };
|
||||
|
|
Loading…
Reference in a new issue