Unverified Commit b57b9071 authored by Michael Daniels's avatar Michael Daniels
Browse files

python3Packages.py-eth-sig-utils: drop

Has been marked broken for at least a full release cycle.

Dropping per RFC 180.
parent 7d123973
Loading
Loading
Loading
Loading
+0 −48
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  eth-abi,
  py-ecc,
  pycryptodome,
  python,
  rlp,
}:

buildPythonPackage rec {
  pname = "py-eth-sig-utils";
  version = "0.4.0";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "rmeissner";
    repo = "py-eth-sig-utils";
    rev = "v${version}";
    hash = "sha256-PNvEHH5w2ptntRGzqWrqlbIzJJsT60OXg/Dh5f6Wq9k=";
  };

  propagatedBuildInputs = [
    eth-abi
    py-ecc
    pycryptodome
    rlp
  ];

  # lots of: isinstance() arg 2 must be a type or tuple of types
  doCheck = false;

  checkPhase = ''
    ${python.interpreter} -m unittest
  '';

  pythonImportsCheck = [ "py_eth_sig_utils" ];

  meta = with lib; {
    description = "Collection of functions to generate hashes for signing on Ethereum";
    homepage = "https://github.com/rmeissner/py-eth-sig-utils";
    license = licenses.mit;
    maintainers = [ ];
    # TODO: upstream is stale and doesn't not work with the new `eth-abi` package any more.
    broken = true;
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -556,6 +556,7 @@ mapAliases ({
  pwndbg = throw "'pwndbg' has been removed due to dependency version incompatibilities that are infeasible to maintain in nixpkgs. Use the downstream flake that pwndbg provides instead: https://github.com/pwndbg/pwndbg"; # Added 2025-02-09
  pxml = throw "pxml was removed, because it was disabled on all python version since 3.8 and last updated in 2020."; # added 2024-05-13
  py3to2 = throw "py3to2 is unmaintained and source is no longer available"; # added 2024-10-23
  py-eth-sig-utils = throw "py-eth-sig-utils has been removed because it has been marked as broken since at least November 2024."; # Added 2025-10-04
  pypcap = throw "pypcap has been removed because it is broken and unmaintained upstream."; # added 2025-06-18
  pytedee-async = aiotedee; # added 2025-07-06
  pytricia = throw "pytricia has been removed, since it is unmaintained"; # added 2025-05-25
+0 −2
Original line number Diff line number Diff line
@@ -12443,8 +12443,6 @@ self: super: with self; {
  py-ecc = callPackage ../development/python-modules/py-ecc { };
  py-eth-sig-utils = callPackage ../development/python-modules/py-eth-sig-utils { };
  py-evm = callPackage ../development/python-modules/py-evm { };
  py-expression-eval = callPackage ../development/python-modules/py-expression-eval { };