nixpkgs/pkgs/development/python-modules/intake/default.nix
2019-02-24 18:52:41 -05:00

61 lines
1.0 KiB
Nix

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