ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / consonance / default.nix
bloba31930bd0c4b0e1c9b326008eddca88da189b24b
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , dissononce
5 , python-axolotl-curve25519
6 , transitions
7 , protobuf
8 , pytestCheckHook
9 , pythonOlder
12 buildPythonPackage rec {
13   pname = "consonance";
14   version = "0.1.5";
15   format = "setuptools";
17   disabled = pythonOlder "3.7";
19   src = fetchFromGitHub {
20     owner = "tgalal";
21     repo = "consonance";
22     rev = version;
23     hash = "sha256-BhgxLxjKZ4dSL7DqkaoS+wBPCd1SYZomRKrtDLdGmYQ=";
24   };
26   propagatedBuildInputs = [
27     dissononce
28     python-axolotl-curve25519
29     transitions
30     protobuf
31   ];
33   checkInputs = [
34     pytestCheckHook
35   ];
37   pytestFlagsArray = [
38     "tests/test_handshakes_offline.py"
39   ];
41   pythonImportsCheck = [
42     "consonance"
43   ];
45   meta = with lib; {
46     description = "WhatsApp's handshake implementation using Noise Protocol";
47     homepage = "https://github.com/tgalal/consonance";
48     license = licenses.gpl3Plus;
49     maintainers = with maintainers; [ ];
50   };