Unverified Commit 533fffa4 authored by Moraxyc's avatar Moraxyc
Browse files

python312Packages.python-axolotl-curve25519: fix build on darwin

parent 76612b17
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  buildPythonPackage,
  fetchPypi,
  fetchpatch,
}:

buildPythonPackage rec {
@@ -14,6 +15,14 @@ buildPythonPackage rec {
    sha256 = "0705a66297ebd2f508a60dc94e22881c754301eb81db93963322f6b3bdcb63a3";
  };

  patches = [
    # https://github.com/tgalal/python-axolotl-curve25519/pull/26
    (fetchpatch {
      url = "https://github.com/tgalal/python-axolotl-curve25519/commit/901f4fb12e1290b72fbd26ea1f40755b079fa241.patch";
      hash = "sha256-hdhaOysRXI9q5D9e/bfy0887bpEFSvUyrbl32nBgteQ=";
    })
  ];

  meta = with lib; {
    homepage = "https://github.com/tgalal/python-axolotl-curve25519";
    description = "Curve25519 with ed25519 signatures";