biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / proton-vpn-network-manager-openvpn / default.nix
blob25c9715e7e6beb625e452ec8b81be8e81c02acd0
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   gobject-introspection,
6   setuptools,
7   proton-core,
8   proton-vpn-network-manager,
9   pytestCheckHook,
10   pytest-cov-stub,
13 buildPythonPackage rec {
14   pname = "proton-vpn-network-manager-openvpn";
15   version = "0.1.0";
16   pyproject = true;
18   src = fetchFromGitHub {
19     owner = "ProtonVPN";
20     repo = "python-proton-vpn-network-manager-openvpn";
21     rev = "refs/tags/v${version}";
22     hash = "sha256-eDBcpuz37crfAFX6oysB4FCkSmVLyfLJ0R2L0cZgjRo=";
23   };
25   nativeBuildInputs = [
26     # Solves Namespace NM not available
27     gobject-introspection
28   ];
30   build-system = [
31     setuptools
32   ];
34   dependencies = [
35     proton-core
36     proton-vpn-network-manager
37   ];
39   pythonImportsCheck = [ "proton.vpn.backend.linux.networkmanager.protocol" ];
41   nativeCheckInputs = [
42     pytestCheckHook
43     pytest-cov-stub
44   ];
46   meta = {
47     description = "Adds support for the OpenVPN protocol using NetworkManager";
48     homepage = "https://github.com/ProtonVPN/python-proton-vpn-network-manager-openvpn";
49     license = lib.licenses.gpl3Only;
50     maintainers = with lib.maintainers; [ sebtm ];
51   };