eliot-tree: 21.0.0 -> 24.0.0 (#503892)

This commit is contained in:
kirillrdy
2026-03-27 02:20:07 +00:00
committed by GitHub
+8 -12
View File
@@ -1,27 +1,22 @@
{
lib,
python3Packages,
fetchPypi,
fetchFromGitHub,
addBinToPathHook,
}:
python3Packages.buildPythonApplication (finalAttrs: {
pname = "eliot-tree";
version = "21.0.0";
version = "24.0.0";
pyproject = true;
src = fetchPypi {
inherit (finalAttrs) pname version;
hash = "sha256-hTl+r+QJPPQ7ss73lty3Wm7DLy2SKGmmgIuJx38ilO8=";
src = fetchFromGitHub {
owner = "jonathanj";
repo = "eliottree";
tag = finalAttrs.version;
hash = "sha256-4P6eAhX7XBuxu8r/7xvm07u4PZzKP3YLj/5kekgYXG8=";
};
# Patch Python 3.12 incompatibilities in versioneer.py.
postPatch = ''
substituteInPlace versioneer.py \
--replace-fail SafeConfigParser ConfigParser \
--replace-fail readfp read_file
'';
build-system = with python3Packages; [ setuptools ];
dependencies = with python3Packages; [
@@ -29,6 +24,7 @@ python3Packages.buildPythonApplication (finalAttrs: {
eliot
iso8601
jmespath
six
toolz
];