diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2022-01-15 11:31:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-15 11:31:23 +0100 |
commit | 8aa27805b70b115896560ea1c74e14ff9e5e5b08 (patch) | |
tree | 9d1dc585d9ad4ae6579bc3c36f2982bc146b2123 /pkgs | |
parent | 22a2be05ea9f9563f4a4eadb670a1e38adecd1ca (diff) | |
parent | 0c0b0905e73f7b6b8b9728bb6f6ba906f1f9cc3a (diff) | |
download | nixpkgs-8aa27805b70b115896560ea1c74e14ff9e5e5b08.tar nixpkgs-8aa27805b70b115896560ea1c74e14ff9e5e5b08.tar.gz nixpkgs-8aa27805b70b115896560ea1c74e14ff9e5e5b08.tar.bz2 nixpkgs-8aa27805b70b115896560ea1c74e14ff9e5e5b08.tar.lz nixpkgs-8aa27805b70b115896560ea1c74e14ff9e5e5b08.tar.xz nixpkgs-8aa27805b70b115896560ea1c74e14ff9e5e5b08.tar.zst nixpkgs-8aa27805b70b115896560ea1c74e14ff9e5e5b08.zip |
Merge pull request #155084 from fabaff/bump-consonance
python3Packages.consonance: 0.1.3 -> 0.1.5
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/consonance/default.nix | 46 |
1 files changed, 34 insertions, 12 deletions
diff --git a/pkgs/development/python-modules/consonance/default.nix b/pkgs/development/python-modules/consonance/default.nix index 7722226ef3f..a31930bd0c4 100644 --- a/pkgs/development/python-modules/consonance/default.nix +++ b/pkgs/development/python-modules/consonance/default.nix @@ -1,29 +1,51 @@ -{ buildPythonPackage, lib, fetchFromGitHub, dissononce, python-axolotl-curve25519 -, transitions, protobuf, nose +{ lib +, buildPythonPackage +, fetchFromGitHub +, dissononce +, python-axolotl-curve25519 +, transitions +, protobuf +, pytestCheckHook +, pythonOlder }: buildPythonPackage rec { pname = "consonance"; - version = "0.1.3"; + version = "0.1.5"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "tgalal"; repo = "consonance"; rev = version; - sha256 = "1ifs0fq6i41rdna1kszv5sf87qbqx1mn98ffyx4xhw4i9r2grrjv"; + hash = "sha256-BhgxLxjKZ4dSL7DqkaoS+wBPCd1SYZomRKrtDLdGmYQ="; }; - checkInputs = [ nose ]; - checkPhase = '' - # skipping online test as it requires network with uplink - nosetests tests/test_handshakes_offline.py - ''; + propagatedBuildInputs = [ + dissononce + python-axolotl-curve25519 + transitions + protobuf + ]; + + checkInputs = [ + pytestCheckHook + ]; + + pytestFlagsArray = [ + "tests/test_handshakes_offline.py" + ]; - propagatedBuildInputs = [ dissononce python-axolotl-curve25519 transitions protobuf ]; + pythonImportsCheck = [ + "consonance" + ]; meta = with lib; { - homepage = "https://pypi.org/project/consonance/"; - license = licenses.gpl3; description = "WhatsApp's handshake implementation using Noise Protocol"; + homepage = "https://github.com/tgalal/consonance"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ ]; }; } |