Unverified Commit 9ed444d2 authored by Alyssa Ross's avatar Alyssa Ross
Browse files

python3.pkgs.pyblake2: remove

No longer used by trezor (the only thing that used it in Nixpkgs), and
deprecated upstream in favor of hashlib in the standard library, which
has supported BLAKE2 since Python 3.6.
parent f423f57b
Loading
Loading
Loading
Loading
+0 −23
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchPypi
}:

buildPythonPackage rec {
  pname = "pyblake2";
  version = "1.1.2";

  src = fetchPypi {
    inherit pname version;
    sha256 = "5ccc7eb02edb82fafb8adbb90746af71460fbc29aa0f822526fc976dff83e93f";
  };

  # requires setting up sphinx doctest
  doCheck = false;

  meta = {
    description = "BLAKE2 hash function extension module";
    license = lib.licenses.publicDomain;
    homepage = "https://github.com/dchest/pyblake2";
  };
}
+0 −2
Original line number Diff line number Diff line
@@ -14,7 +14,6 @@
, mnemonic
, pillow
, protobuf
, pyblake2
, requests
, shamir-mnemonic
, simple-rlp
@@ -47,7 +46,6 @@ buildPythonPackage rec {
    mnemonic
    pillow
    protobuf
    pyblake2
    requests
    shamir-mnemonic
    simple-rlp
+1 −0
Original line number Diff line number Diff line
@@ -186,6 +186,7 @@ mapAliases ({
  pushbullet = pushbullet-py;  # Added 2022-10-15
  Pweave = pweave; # added 2023-02-19
  pyalmond = throw "pyalmond has been removed, since its API endpoints have been shutdown"; # added 2023-02-02
  pyblake2 = throw "pyblake2 is deprecated in favor of hashlib"; # added 2023-04-23
  pydrive = throw "pydrive is broken and deprecated and has been replaced with pydrive2."; # added 2022-06-01
  PyGithub = pygithub; # added 2023-02-19
  pyGtkGlade = throw "Glade support for pygtk has been removed"; # added 2022-01-15
+0 −2
Original line number Diff line number Diff line
@@ -8016,8 +8016,6 @@ self: super: with self; {

  pyblackbird = callPackage ../development/python-modules/pyblackbird { };

  pyblake2 = callPackage ../development/python-modules/pyblake2 { };

  pyblock = toPythonModule (callPackage ../development/python-modules/pyblock { });

  pybluez = callPackage ../development/python-modules/pybluez {