Merge pull request #225694 from benxiao/fix-tables

python3.pkgs.tables: fix build
This commit is contained in:
Fabian Affolter 2023-04-11 12:01:21 +02:00 committed by GitHub
commit e2399613e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,12 +16,14 @@
# Test inputs
, python
, pytest
, py-cpuinfo
}:
buildPythonPackage rec {
pname = "tables";
version = "3.8.0";
disabled = pythonOlder "3.5";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
@ -40,11 +42,13 @@ buildPythonPackage rec {
hdf5
lzo
];
propagatedBuildInputs = [
blosc2
py-cpuinfo
numpy
numexpr
packaging # uses packaging.version at runtime
packaging # uses packaging.version at runtime
];
# When doing `make distclean`, ignore docs
@ -92,6 +96,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Hierarchical datasets for Python";
homepage = "https://www.pytables.org/";
changelog = "https://github.com/PyTables/PyTables/releases/tag/v${version}";
license = licenses.bsd2;
maintainers = with maintainers; [ drewrisinger ];
};