python312Packages.eliot: unbreak, use addBinToPathHook

This commit is contained in:
Pol Dellaiera
2025-02-04 09:01:38 +01:00
parent b613464a62
commit 6a79b58e8d
@@ -15,6 +15,7 @@
zope-interface,
daemontools,
addBinToPathHook,
dask,
distributed,
hypothesis,
@@ -38,14 +39,6 @@ buildPythonPackage rec {
hash = "sha256-KqAXOMrRawzjpt5do2KdqpMMgpBtxeZ+X+th0WwBl+U=";
};
patches = [
(fetchpatch2 {
name = "numpy2-compat.patch";
url = "https://github.com/itamarst/eliot/commit/39eccdad44f91971ecf1211fb01366b4d9801817.patch";
hash = "sha256-al6olmvFZ8pDblljWmWqs5QrtcuHKcea255XgG+1+1o=";
})
];
build-system = [ setuptools ];
dependencies = [
@@ -56,6 +49,7 @@ buildPythonPackage rec {
];
nativeCheckInputs = [
addBinToPathHook
dask
distributed
hypothesis
@@ -69,11 +63,6 @@ buildPythonPackage rec {
pythonImportsCheck = [ "eliot" ];
# Tests run eliot-prettyprint in out/bin.
preCheck = ''
export PATH=$out/bin:$PATH
'';
disabledTests = [
# Fails since dask's bump to 2024.12.2
# Reported upstream: https://github.com/itamarst/eliot/issues/507