summary refs log tree commit diff
path: root/pkgs/development/python-modules/python-axolotl/default.nix
blob: 1fff6bb7608612b90e678075e9058912bda05c04 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ lib, buildPythonPackage, fetchPypi, python-axolotl-curve25519, protobuf, pycrypto }:

buildPythonPackage rec {
  pname = "python-axolotl";
  version = "0.1.39";

  src = fetchPypi {
    inherit pname version;
    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;
  };
}