diff --git a/pkgs/development/python-modules/eth-hash/default.nix b/pkgs/development/python-modules/eth-hash/default.nix index 070fe454bdaf..f1b22597f2c3 100644 --- a/pkgs/development/python-modules/eth-hash/default.nix +++ b/pkgs/development/python-modules/eth-hash/default.nix @@ -3,7 +3,6 @@ , buildPythonPackage , pythonOlder , pytest -, pysha3 , safe-pysha3 , pycryptodome }: @@ -32,7 +31,7 @@ buildPythonPackage rec { passthru.optional-dependencies = { pycryptodome = [ pycryptodome ]; - pysha3 = if pythonOlder "3.9" then [ pysha3 ] else [ safe-pysha3 ]; + pysha3 = [ safe-pysha3 ]; }; meta = with lib; { diff --git a/pkgs/development/python-modules/pysha3/default.nix b/pkgs/development/python-modules/pysha3/default.nix deleted file mode 100644 index 8bdbb8601954..000000000000 --- a/pkgs/development/python-modules/pysha3/default.nix +++ /dev/null @@ -1,18 +0,0 @@ -{ lib, buildPythonPackage, fetchPypi, pythonOlder }: - -buildPythonPackage rec { - pname = "pysha3"; - version = "1.0.2"; - disabled = pythonOlder "2.7"; - - src = fetchPypi { - inherit pname version; - sha256 = "17kkjapv6sr906ib0r5wpldmzw7scza08kv241r98vffy9rqx67y"; - }; - - meta = { - description = "Backport of hashlib.sha3 for 2.7 to 3.5"; - homepage = "https://github.com/tiran/pysha3"; - license = lib.licenses.psfl; - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index 69ca3146cda7..1e84bbb2563c 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -225,6 +225,7 @@ mapAliases ({ Pyro4 = pyro4; # added 2023-02-19 Pyro5 = pyro5; # added 2023-02-19 PyRSS2Gen = pyrss2gen; # added 2023-02-19 + pysha3 = throw "pysha3 has been removed, use safe-pysha3 instead"; # added 2023-05-20 pysmart-smartx = pysmart; # added 2021-10-22 pysparse = throw "pysparse has been abandoned upstream."; # added 2023-02-28 pyspotify = throw "pyspotify has been removed because Spotify stopped supporting libspotify"; # added 2022-05-29 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 903001e5e757..205d95ec4100 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -9215,8 +9215,6 @@ self: super: with self; { pysftp = callPackage ../development/python-modules/pysftp { }; - pysha3 = callPackage ../development/python-modules/pysha3 { }; - pyshp = callPackage ../development/python-modules/pyshp { }; pyside2-tools = toPythonModule (callPackage ../development/python-modules/pyside2-tools {