Unverified Commit 7018bf01 authored by kirillrdy's avatar kirillrdy Committed by GitHub
Browse files

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

parents 848be516 05ba987c
Loading
Loading
Loading
Loading
+8 −12
Original line number Diff line number Diff line
{
  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
  ];