3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/intake/default.nix

61 lines
1 KiB
Nix
Raw Normal View History

2019-02-24 15:23:55 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, appdirs
, dask
, holoviews
, jinja2
, msgpack-numpy
, msgpack-python
, numpy
, pandas
, python-snappy
, requests
, ruamel_yaml
, six
, tornado
, pytest
, pythonOlder
, isPy27
}:
buildPythonPackage rec {
pname = "intake";
version = "0.4.1";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "f47e53aa764eeadf6adcc667b9817b1ad32496477476da0b982d4fc0744b40ef";
};
checkInputs = [ pytest ];
propagatedBuildInputs = [
appdirs
dask
holoviews
jinja2
msgpack-numpy
msgpack-python
numpy
pandas
python-snappy
requests
ruamel_yaml
six
tornado
];
checkPhase = ''
# single test assumes python for executable name
PATH=$out/bin:$PATH HOME=$(mktemp -d) pytest --ignore=intake/catalog/tests/test_default.py
'';
meta = with lib; {
description = "Data load and catalog system";
homepage = https://github.com/ContinuumIO/intake;
license = licenses.bsd2;
maintainers = [ maintainers.costrouc ];
};
}