2018-06-23 15:27:58 +02:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, python-axolotl-curve25519, protobuf, pycrypto }:
|
2018-02-25 18:21:36 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2018-06-23 15:27:58 +02:00
|
|
|
pname = "python-axolotl";
|
2018-02-25 18:21:36 +01:00
|
|
|
version = "0.1.39";
|
|
|
|
|
2018-06-23 15:27:58 +02:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-02-25 18:21:36 +01:00
|
|
|
sha256 = "09bf5gfip9x2wr0ij43p39ac6z2iqzn7kgpi2jjbwpnhs0vwkycs";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ python-axolotl-curve25519 protobuf pycrypto ];
|
|
|
|
# IV == 0 in tests is not supported by pycryptodome (our pycrypto drop-in)
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = https://github.com/tgalal/python-axolotl;
|
|
|
|
description = "Python port of libaxolotl-android";
|
|
|
|
maintainers = with maintainers; [ abbradar ];
|
|
|
|
license = licenses.gpl3;
|
|
|
|
};
|
|
|
|
}
|