Files
nixpkgs/pkgs/development/python-modules/deepdish/default.nix
T
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

44 lines
845 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, numpy
, scipy
, tables
}:
buildPythonPackage rec {
pname = "deepdish";
version = "0.3.7";
format = "setuptools";
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.";
mainProgram = "ddls";
homepage = "https://github.com/uchicago-cs/deepdish";
license = licenses.asl20;
maintainers = with maintainers; [ ndl ];
};
}