Commit b89f0ff8 authored by Robert Schütz's avatar Robert Schütz
Browse files

python311Packages.proton-vpn-logger: 0.2.1-unstable-2023-05-10 -> 0.2.1

parent 75c65468
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -6,16 +6,16 @@
, pytestCheckHook
}:

buildPythonPackage {
buildPythonPackage rec {
  pname = "proton-vpn-logger";
  version = "0.2.1-unstable-2023-05-10";
  version = "0.2.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "ProtonVPN";
    repo = "python-proton-vpn-logger";
    rev = "0acbc1ab41a65cbc9ceb340e3db011e6f89eb65a";
    hash = "sha256-VIggBKopAAKiNdQ5ypG1qI74E2WMDwDSriSuka/DBKA=";
    rev = "refs/tags/v${version}";
    hash = "sha256-/LfMjyTs/EusgnKEQugsdJzqDZBvaAhbsTUVLDCRw0I=";
  };

  nativeBuildInputs = [
@@ -28,7 +28,7 @@ buildPythonPackage {

  postPatch = ''
    substituteInPlace setup.cfg \
      --replace "--cov=proton/vpn/logging/ --cov-report html --cov-report term" ""
      --replace-fail "--cov=proton/vpn/logging/ --cov-report html --cov-report term" ""
  '';

  pythonImportsCheck = [ "proton.vpn.logging" ];