python312Packages.hickle: refactor

This commit is contained in:
Fabian Affolter 2024-04-04 20:56:07 +02:00 committed by Weijia Wang
parent 2e0d671640
commit 96867fbe27

View File

@ -9,12 +9,13 @@
, scipy , scipy
, pandas , pandas
, pytestCheckHook , pytestCheckHook
, setuptools
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "hickle"; pname = "hickle";
version = "5.0.3"; version = "5.0.3";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.5"; disabled = pythonOlder "3.5";
@ -25,10 +26,14 @@ buildPythonPackage rec {
postPatch = '' postPatch = ''
substituteInPlace tox.ini \ substituteInPlace tox.ini \
--replace "--cov=./hickle" "" --replace-fail "--cov=./hickle" ""
''; '';
propagatedBuildInputs = [ build-system = [
setuptools
];
dependencies = [
dill dill
h5py h5py
numpy numpy