mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
python3Packages.proton-keyring-linux-secretservice: init at 0.0.1-unstable-2023-04-14
This commit is contained in:
parent
36245fdd36
commit
bbadbae8b7
@ -0,0 +1,46 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, setuptools
|
||||
, proton-keyring-linux
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage {
|
||||
pname = "proton-keyring-linux-secretservice";
|
||||
version = "0.0.1-unstable-2023-04-14";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ProtonVPN";
|
||||
repo = "python-proton-keyring-linux-secretservice";
|
||||
rev = "973d2646ec4d04bc270df53058df892950244e70";
|
||||
hash = "sha256-JlhvJBpbewT2c8k31CPMUlvvo/orWW1qfylFZLnDxeY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
proton-keyring-linux
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg \
|
||||
--replace "--cov=proton.keyring_linux.secretservice --cov-report html --cov-report term" ""
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "proton.keyring_linux" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "ProtonVPN component to access Linux's keyring secret service API";
|
||||
homepage = "https://github.com/ProtonVPN/python-proton-keyring-linux-secretservice";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ wolfangaukang ];
|
||||
};
|
||||
}
|
@ -9725,6 +9725,8 @@ self: super: with self; {
|
||||
|
||||
proton-keyring-linux = callPackage ../development/python-modules/proton-keyring-linux { };
|
||||
|
||||
proton-keyring-linux-secretservice = callPackage ../development/python-modules/proton-keyring-linux-secretservice { };
|
||||
|
||||
proton-vpn-api-core = callPackage ../development/python-modules/proton-vpn-api-core { };
|
||||
|
||||
proton-vpn-connection = callPackage ../development/python-modules/proton-vpn-connection { };
|
||||
|
Loading…
Reference in New Issue
Block a user