python.pkgs.blaze: move expression
This commit is contained in:
parent
b714a38bba
commit
25fa9f2f14
75
pkgs/development/python-modules/blaze/default.nix
Normal file
75
pkgs/development/python-modules/blaze/default.nix
Normal file
@ -0,0 +1,75 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchurl
|
||||||
|
, pytest
|
||||||
|
, contextlib2
|
||||||
|
, cytoolz
|
||||||
|
, dask
|
||||||
|
, datashape
|
||||||
|
, flask
|
||||||
|
, flask-cors
|
||||||
|
, h5py
|
||||||
|
, multipledispatch
|
||||||
|
, numba
|
||||||
|
, numpy
|
||||||
|
, odo
|
||||||
|
, pandas
|
||||||
|
, psutil
|
||||||
|
, pymongo
|
||||||
|
, pyyaml
|
||||||
|
, requests
|
||||||
|
, sqlalchemy
|
||||||
|
, tables
|
||||||
|
, toolz
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "blaze";
|
||||||
|
version = "0.11.0";
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/blaze/blaze/archive/${version}.tar.gz";
|
||||||
|
sha256 = "07zrrxkmdqk84xvdmp29859zcfzlpx5pz6g62l28nqp6n6a7yq9a";
|
||||||
|
};
|
||||||
|
|
||||||
|
checkInputs = [ pytest ];
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
contextlib2
|
||||||
|
cytoolz
|
||||||
|
dask
|
||||||
|
datashape
|
||||||
|
flask
|
||||||
|
flask-cors
|
||||||
|
h5py
|
||||||
|
multipledispatch
|
||||||
|
numba
|
||||||
|
numpy
|
||||||
|
odo
|
||||||
|
pandas
|
||||||
|
psutil
|
||||||
|
pymongo
|
||||||
|
pyyaml
|
||||||
|
requests
|
||||||
|
sqlalchemy
|
||||||
|
tables
|
||||||
|
toolz
|
||||||
|
];
|
||||||
|
|
||||||
|
# Failing test
|
||||||
|
# ERROR collecting blaze/tests/test_interactive.py
|
||||||
|
# E networkx.exception.NetworkXNoPath: node <class 'list'> not
|
||||||
|
# reachable from <class 'dask.array.core.Array'>
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
py.test blaze/tests
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = https://github.com/ContinuumIO/blaze;
|
||||||
|
description = "Allows Python users a familiar interface to query data living in other data storage systems";
|
||||||
|
license = lib.licenses.bsdOriginal;
|
||||||
|
maintainers = with lib.maintainers; [ fridh ];
|
||||||
|
};
|
||||||
|
}
|
@ -2109,55 +2109,7 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
blaze = buildPythonPackage rec {
|
blaze = callPackage ../development/python-modules/blaze { };
|
||||||
name = "blaze-${version}";
|
|
||||||
version = "0.11.0";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "https://github.com/blaze/blaze/archive/${version}.tar.gz";
|
|
||||||
sha256 = "07zrrxkmdqk84xvdmp29859zcfzlpx5pz6g62l28nqp6n6a7yq9a";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = with self; [ pytest ];
|
|
||||||
propagatedBuildInputs = with self; [
|
|
||||||
contextlib2
|
|
||||||
cytoolz
|
|
||||||
dask
|
|
||||||
datashape
|
|
||||||
flask
|
|
||||||
flask-cors
|
|
||||||
h5py
|
|
||||||
multipledispatch
|
|
||||||
numba
|
|
||||||
numpy
|
|
||||||
odo
|
|
||||||
pandas
|
|
||||||
psutil
|
|
||||||
pymongo
|
|
||||||
pyyaml
|
|
||||||
requests
|
|
||||||
sqlalchemy
|
|
||||||
tables
|
|
||||||
toolz
|
|
||||||
];
|
|
||||||
|
|
||||||
# Failing test
|
|
||||||
# ERROR collecting blaze/tests/test_interactive.py
|
|
||||||
# E networkx.exception.NetworkXNoPath: node <class 'list'> not
|
|
||||||
# reachable from <class 'dask.array.core.Array'>
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
checkPhase = ''
|
|
||||||
py.test blaze/tests
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = https://github.com/ContinuumIO/blaze;
|
|
||||||
description = "Allows Python users a familiar interface to query data living in other data storage systems";
|
|
||||||
license = licenses.bsdOriginal;
|
|
||||||
maintainers = with maintainers; [ fridh ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# Needed for FlexGet 1.2.337 and calibre 2.76.0
|
# Needed for FlexGet 1.2.337 and calibre 2.76.0
|
||||||
html5lib_0_9999999 = self.html5lib.override rec {
|
html5lib_0_9999999 = self.html5lib.override rec {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user