diff --git a/pkgs/development/python-modules/python-axolotl-curve25519/default.nix b/pkgs/development/python-modules/python-axolotl-curve25519/default.nix index cb2185845e65..6dfdab632d04 100644 --- a/pkgs/development/python-modules/python-axolotl-curve25519/default.nix +++ b/pkgs/development/python-modules/python-axolotl-curve25519/default.nix @@ -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; }; }