nixpkgs/pkgs/development/python-modules/python-axolotl/default.nix
2018-07-26 12:43:06 +02:00

23 lines
689 B
Nix

{ lib, buildPythonPackage, fetchPypi, python-axolotl-curve25519, protobuf, pycrypto }:
buildPythonPackage rec {
pname = "python-axolotl";
version = "0.1.42";
src = fetchPypi {
inherit pname version;
sha256 = "ef78c2efabcd4c33741669334bdda04710a3ef0e00b653f00127acff6460a7f0";
};
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;
};
}