Merge pull request #228981 from fabaff/keba-kecontact

python310Packages.keba-kecontact: init at 3.0.3
This commit is contained in:
Martin Weinelt 2023-05-01 00:32:30 +02:00 committed by GitHub
commit 771c9686f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 46 additions and 1 deletions

View file

@ -0,0 +1,42 @@
{ lib
, asyncio-dgram
, buildPythonPackage
, fetchFromGitHub
, netifaces
, pythonOlder
}:
buildPythonPackage rec {
pname = "keba-kecontact";
version = "3.0.3";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "dannerph";
repo = "keba-kecontact";
rev = "refs/tags/${version}";
hash = "sha256-gR1ut2IjrU/JMy8/ZFv0jQTB6c3A/tZqtXMpQsapuj0=";
};
propagatedBuildInputs = [
asyncio-dgram
netifaces
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"keba_kecontact"
];
meta = with lib; {
description = "Python library for controlling KEBA charging stations";
homepage = "https://github.com/dannerph/keba-kecontact";
changelog = "https://github.com/dannerph/keba-kecontact/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -1821,7 +1821,8 @@
"kankun" = ps: with ps; [
];
"keba" = ps: with ps; [
]; # missing inputs: keba-kecontact
keba-kecontact
];
"keenetic_ndms2" = ps: with ps; [
ndms2-client
];

View file

@ -5281,6 +5281,8 @@ self: super: with self; {
kconfiglib = callPackage ../development/python-modules/kconfiglib { };
keba-kecontact = callPackage ../development/python-modules/keba-kecontact { };
keep = callPackage ../development/python-modules/keep { };
keepalive = callPackage ../development/python-modules/keepalive { };