Unverified Commit e3893e5c authored by Austin Horstman's avatar Austin Horstman Committed by GitHub
Browse files

python312Packages.python-axolotl-curve25519: fix build (#354706)

parents 3690e2cf 63d9179d
Loading
Loading
Loading
Loading
+16 −4
Original line number Diff line number Diff line
@@ -2,22 +2,34 @@
  lib,
  buildPythonPackage,
  fetchPypi,
  fetchpatch,
  setuptools,
}:

buildPythonPackage rec {
  pname = "python-axolotl-curve25519";
  version = "0.4.1.post2";
  format = "setuptools";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    sha256 = "0705a66297ebd2f508a60dc94e22881c754301eb81db93963322f6b3bdcb63a3";
  };

  meta = with lib; {
  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=";
    })
  ];

  build-system = [ setuptools ];

  meta = {
    homepage = "https://github.com/tgalal/python-axolotl-curve25519";
    description = "Curve25519 with ed25519 signatures";
    maintainers = with maintainers; [ abbradar ];
    license = licenses.gpl3;
    maintainers = with lib.maintainers; [ abbradar ];
    license = lib.licenses.gpl3;
  };
}