0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

python3Packages.h5io: 0.2.1 -> 0.2.5 (#403731)

This commit is contained in:
Peder Bergebakken Sundt 2025-05-03 12:24:52 +02:00 committed by GitHub
commit 4a5c0ae90a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,25 +2,30 @@
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
setuptools,
numpy,
# build-system
setuptools-scm,
# dependencies
h5py,
numpy,
# tests
pytestCheckHook,
scipy,
tables,
}:
buildPythonPackage rec {
pname = "h5io";
version = "0.2.1";
version = "0.2.5";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "h5io";
repo = "h5io";
tag = "h5io-${version}";
hash = "sha256-3mrHIkfaXq06mMzUwudRO81DWTk0TO/e15IQA5fxxNc=";
hash = "sha256-ZkG9e7KtDvoRq9XCExYseE+Z7tMQTWcSiwsSrN5prdI=";
};
postPatch = ''
@ -30,22 +35,31 @@ buildPythonPackage rec {
--replace "--cov=h5io" ""
'';
nativeBuildInputs = [ setuptools ];
build-system = [ setuptools-scm ];
propagatedBuildInputs = [
numpy
dependencies = [
h5py
numpy
];
nativeCheckInputs = [ pytestCheckHook ];
nativeCheckInputs = [
pytestCheckHook
scipy
tables
];
disabledTests = [
# See https://github.com/h5io/h5io/issues/86
"test_state_with_pathlib"
];
pythonImportsCheck = [ "h5io" ];
meta = with lib; {
meta = {
description = "Read and write simple Python objects using HDF5";
homepage = "https://github.com/h5io/h5io";
changelog = "https://github.com/h5io/h5io/releases/tag/h5io-${version}";
license = licenses.bsd3;
maintainers = with maintainers; [ mbalatsko ];
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ mbalatsko ];
};
}