summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/proton-vpn-logger/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/proton-vpn-logger/default.nix')
-rw-r--r--pkgs/development/python-modules/proton-vpn-logger/default.nix25
1 files changed, 10 insertions, 15 deletions
diff --git a/pkgs/development/python-modules/proton-vpn-logger/default.nix b/pkgs/development/python-modules/proton-vpn-logger/default.nix
index 9c581f400c73..a8c3f02de8fd 100644
--- a/pkgs/development/python-modules/proton-vpn-logger/default.nix
+++ b/pkgs/development/python-modules/proton-vpn-logger/default.nix
@@ -1,9 +1,10 @@
-{ lib
-, buildPythonPackage
-, fetchFromGitHub
-, setuptools
-, proton-core
-, pytestCheckHook
+{
+ lib,
+ buildPythonPackage,
+ fetchFromGitHub,
+ setuptools,
+ proton-core,
+ pytestCheckHook,
}:
buildPythonPackage rec {
@@ -18,13 +19,9 @@ buildPythonPackage rec {
hash = "sha256-/LfMjyTs/EusgnKEQugsdJzqDZBvaAhbsTUVLDCRw0I=";
};
- nativeBuildInputs = [
- setuptools
- ];
+ nativeBuildInputs = [ setuptools ];
- propagatedBuildInputs = [
- proton-core
- ];
+ propagatedBuildInputs = [ proton-core ];
postPatch = ''
substituteInPlace setup.cfg \
@@ -33,9 +30,7 @@ buildPythonPackage rec {
pythonImportsCheck = [ "proton.vpn.logging" ];
- nativeCheckInputs = [
- pytestCheckHook
- ];
+ nativeCheckInputs = [ pytestCheckHook ];
preCheck = ''
# Needed for Permission denied: '/homeless-shelter'