Files
nixpkgs/pkgs/development/python-modules/proton-keyring-linux/default.nix
T
Viorel-Cătălin Răpițeanu 74cdad8aa8 protonvpn-gui: 4.4.4 -> 4.6.0, deprecate obsolete dependencies
Update the protonvpn-gui package to the latest version.

The proton-vpn-network-manager-wireguard and proton-vpn-network-manager-openvpn
modules are now legacy: The same functionality is now in proton-vpn-network-manager
module, version 0.6.3 and upwards.

proton-vpn-connection functionality was integrated in the proton-vpn-api-core module.
proton-vpn-session functionality was integrated in the proton-vpn-api-core module.
proton-vpn-killswitch functionality was integrated in the proton-vpn-api-core module.
proton-keyring-linux-secretservice functionality was integrated in the proton-keyring-linux module
proton-vpn-killswitch-network-manager-wireguard functionality was integrated in the proton-vpn-network-manager module
proton-vpn-killswitch-network-manager functionality was integrated in the proton-vpn-network-manager module
proton-vpn-logger functionality was integrated in the proton-vpn-api-core module
2024-10-18 10:34:02 +03:00

48 lines
933 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
keyring,
proton-core,
pytestCheckHook,
pytest-cov-stub,
}:
buildPythonPackage rec {
pname = "proton-keyring-linux";
version = "0.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "ProtonVPN";
repo = "python-proton-keyring-linux";
rev = "refs/tags/v${version}";
hash = "sha256-feIgRC0U7d96gFcmHqRF3/8k/bsxlPJs1/K+ki7uXys=";
};
build-system = [ setuptools ];
dependencies = [
keyring
proton-core
];
pythonImportsCheck = [
"proton.keyring_linux.core"
"proton.keyring_linux"
];
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
];
meta = {
description = "ProtonVPN core component to access Linux's keyring";
homepage = "https://github.com/ProtonVPN/python-proton-keyring-linux";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ sebtm ];
};
}