Merge pull request #219268 from fabaff/py-dormakaba-dkey

python310Packages.py-dormakaba-dkey: init at 1.0.4
This commit is contained in:
Martin Weinelt 2023-03-03 02:56:25 +00:00 committed by GitHub
commit bd4d66987d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 54 additions and 1 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

@ -804,11 +804,12 @@
esphome-dashboard-api esphome-dashboard-api
fnvhash fnvhash
ifaddr ifaddr
py-dormakaba-dkey
pyserial pyserial
pyudev pyudev
sqlalchemy sqlalchemy
zeroconf zeroconf
]; # missing inputs: py-dormakaba-dkey ];
"dovado" = ps: with ps; [ "dovado" = ps: with ps; [
]; # missing inputs: dovado ]; # missing inputs: dovado
"downloader" = ps: with ps; [ "downloader" = ps: with ps; [
@ -4453,6 +4454,7 @@
"dlna_dms" "dlna_dms"
"dnsip" "dnsip"
"doorbird" "doorbird"
"dormakaba_dkey"
"dsmr" "dsmr"
"dsmr_reader" "dsmr_reader"
"dte_energy_bridge" "dte_energy_bridge"

View file

@ -7743,6 +7743,8 @@ self: super: with self; {
py-dmidecode = callPackage ../development/python-modules/py-dmidecode { }; 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-nightscout = callPackage ../development/python-modules/py-nightscout { };
py-synologydsm-api = callPackage ../development/python-modules/py-synologydsm-api { }; py-synologydsm-api = callPackage ../development/python-modules/py-synologydsm-api { };