python.pkgs.blaze: move expression

This commit is contained in:
Frederik Rietdijk 2017-07-29 11:55:11 +02:00
parent b714a38bba
commit 25fa9f2f14
2 changed files with 76 additions and 49 deletions

View 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 ];
};
}

View File

@ -2109,55 +2109,7 @@ in {
};
};
blaze = buildPythonPackage rec {
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 ];
};
};
blaze = callPackage ../development/python-modules/blaze { };
# Needed for FlexGet 1.2.337 and calibre 2.76.0
html5lib_0_9999999 = self.html5lib.override rec {