1{ lib, buildPythonPackage, fetchurl, python-axolotl-curve25519, protobuf, pycrypto }:
2
3buildPythonPackage rec {
4 name = "python-axolotl-${version}";
5 version = "0.1.39";
6
7 src = fetchurl {
8 url = "mirror://pypi/p/python-axolotl/${name}.tar.gz";
9 sha256 = "09bf5gfip9x2wr0ij43p39ac6z2iqzn7kgpi2jjbwpnhs0vwkycs";
10 };
11
12 propagatedBuildInputs = [ python-axolotl-curve25519 protobuf pycrypto ];
13 # IV == 0 in tests is not supported by pycryptodome (our pycrypto drop-in)
14 doCheck = false;
15
16 meta = with lib; {
17 homepage = https://github.com/tgalal/python-axolotl;
18 description = "Python port of libaxolotl-android";
19 maintainers = with maintainers; [ abbradar ];
20 license = licenses.gpl3;
21 };
22}