6 , python-axolotl-curve25519
13 buildPythonPackage rec {
16 format = "setuptools";
18 disabled = pythonOlder "3.7";
20 src = fetchFromGitHub {
24 hash = "sha256-BhgxLxjKZ4dSL7DqkaoS+wBPCd1SYZomRKrtDLdGmYQ=";
28 # https://github.com/tgalal/consonance/pull/9
30 name = "fix-type-error.patch";
31 url = "https://github.com/tgalal/consonance/pull/9/commits/92fb78af98a18f0533ec8a286136968174fb0baf.patch";
32 hash = "sha256-wVUGxZ4W2zPyrcQPQTc85LcRUtsLbTBVzS10NEolpQY=";
36 propagatedBuildInputs = [
38 python-axolotl-curve25519
48 "tests/test_handshakes_offline.py"
51 pythonImportsCheck = [
56 description = "WhatsApp's handshake implementation using Noise Protocol";
57 homepage = "https://github.com/tgalal/consonance";
58 license = licenses.gpl3Plus;
59 maintainers = with maintainers; [ ];