Unverified Commit c7d8639c authored by Terje Larsen's avatar Terje Larsen
Browse files

python3Packages.ionhash: drop

parent bc2e2185
Loading
Loading
Loading
Loading
+0 −51
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  fetchpatch,
  amazon-ion,
  six,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "ionhash";
  version = "1.2.1";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "amzn";
    repo = "ion-hash-python";
    rev = "v${version}";
    hash = "sha256-mXOLKXauWwwIA/LnF4qyZsBiF/QM+rF9MmE2ewmozYo=";
    fetchSubmodules = true;
  };

  patches = [
    (fetchpatch {
      url = "https://github.com/amzn/ion-hash-python/commit/5cab56d694ecc176e394bb455c2d726ba1514ce0.patch";
      hash = "sha256-P5QByNafgxI//e3m+b0oG00+rVymCsT/J4dOZSk3354=";
    })
  ];

  postPatch = ''
    substituteInPlace setup.py --replace "'pytest-runner'," ""
  '';

  propagatedBuildInputs = [
    amazon-ion
    six
  ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "ionhash" ];

  meta = with lib; {
    description = "Python implementation of Amazon Ion Hash";
    homepage = "https://github.com/amzn/ion-hash-python";
    license = licenses.asl20;
    maintainers = [ maintainers.terlar ];
    broken = true; # last successful build 2023-09-28
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -340,6 +340,7 @@ mapAliases ({
  imgaug = throw "imgaug has been removed as it is no longer maintained"; # added 2023-07-10
  imgtool = throw "imgtool has been promoted to a top-level attribute name: `mcuboot-imgtool`"; # added 2024-10-09
  intreehook = throw "intreehooks has been removed because it is obsolete as a backend-path key was added to PEP 517"; # added 2023-04-11
  ionhash = throw "ionhash has been removed due to being unmaintained upstream"; # added 2025-07-30
  iotawattpy = ha-iotawattpy; # added 2025-07-06
  ipaddress = throw "ipaddress has been removed because it is no longer required since python 2.7."; # added 2022-05-30
  ipdbplugin = throw "ipdbplugin has been removed because it has no longer maintained for 6 years"; # added 2024-05-21
+0 −2
Original line number Diff line number Diff line
@@ -7077,8 +7077,6 @@ self: super: with self; {
  iometer = callPackage ../development/python-modules/iometer { };
  ionhash = callPackage ../development/python-modules/ionhash { };
  ionoscloud = callPackage ../development/python-modules/ionoscloud { };
  iopath = callPackage ../development/python-modules/iopath { };