nixpkgs/pkgs/development/python-modules/deepdish/default.nix
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00

42 lines
794 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, numpy
, scipy
, tables
}:
buildPythonPackage rec {
pname = "deepdish";
version = "0.3.7";
src = fetchPypi {
inherit pname version;
sha256 = "1wqzwh3y0mjdyba5kfbvlamn561d3afz50zi712c7klkysz3mzva";
};
propagatedBuildInputs = [
numpy
scipy
tables
];
pythonImportsCheck = [
"deepdish"
];
# nativeCheckInputs = [
# pandas
# ];
# The tests are broken: `ModuleNotFoundError: No module named 'deepdish.six.conf'`
doCheck = false;
meta = with lib; {
description = "Flexible HDF5 saving/loading and other data science tools from the University of Chicago.";
homepage = "https://github.com/uchicago-cs/deepdish";
license = licenses.asl20;
maintainers = with maintainers; [ ndl ];
};
}