python310Packages.py-dormakaba-dkey: init at 1.0.4

This commit is contained in:
Fabian Affolter 2023-03-03 01:05:20 +01:00
parent 125ae1e7e8
commit 554cd39334
2 changed files with 51 additions and 0 deletions

View File

@ -0,0 +1,49 @@
{ lib
, bleak
, bleak-retry-connector
, buildPythonPackage
, cryptography
, fetchFromGitHub
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "py-dormakaba-dkey";
version = "1.0.4";
format = "pyproject";
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "emontnemery";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-1jIsKQa27XNVievU02jjanRWFtJDYsHolgPBab6qpM0=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
bleak
bleak-retry-connector
cryptography
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"py_dormakaba_dkey"
];
meta = with lib; {
description = "Library to interact with a Dormakaba dkey lock";
homepage = "https://github.com/emontnemery/py-dormakaba-dkey";
changelog = "https://github.com/emontnemery/py-dormakaba-dkey/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -7743,6 +7743,8 @@ self: super: with self; {
py-dmidecode = callPackage ../development/python-modules/py-dmidecode { };
py-dormakaba-dkey = callPackage ../development/python-modules/py-dormakaba-dkey { };
py-nightscout = callPackage ../development/python-modules/py-nightscout { };
py-synologydsm-api = callPackage ../development/python-modules/py-synologydsm-api { };