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