16 buildPythonPackage rec {
17 pname = "proton-core";
21 src = fetchFromGitHub {
23 repo = "python-proton-core";
25 hash = "sha256-EZsPw2kPgY42MQxrXt7yAtCNSmSNN5AYxx7SllwsbvA=";
28 build-system = [ setuptools ];
38 pythonImportsCheck = [ "proton" ];
47 # Single test, requires internet connection
48 "tests/test_alternativerouting.py"
53 "test_modulus_verification"
54 # Permission denied: '/run'
58 # No working transports found
59 "test_auto_works_on_prod"
62 "test_without_pinning"
64 "test_bad_pinning_fingerprint_changed"
65 "test_bad_pinning_url_changed"
69 description = "Core logic used by the other Proton components";
70 homepage = "https://github.com/ProtonVPN/python-proton-core";
71 license = lib.licenses.gpl3Only;
72 maintainers = with lib.maintainers; [ sebtm ];