2018-06-23 14:27:58 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, python-axolotl-curve25519, protobuf, pycrypto }:
|
2018-02-25 17:21:36 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2018-06-23 14:27:58 +01:00
|
|
|
pname = "python-axolotl";
|
2018-07-22 11:18:45 +01:00
|
|
|
version = "0.1.42";
|
2018-02-25 17:21:36 +00:00
|
|
|
|
2018-06-23 14:27:58 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-07-22 11:18:45 +01:00
|
|
|
sha256 = "ef78c2efabcd4c33741669334bdda04710a3ef0e00b653f00127acff6460a7f0";
|
2018-02-25 17:21:36 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|