Merge pull request #228981 from fabaff/keba-kecontact
python310Packages.keba-kecontact: init at 3.0.3
This commit is contained in:
commit
771c9686f3
3 changed files with 46 additions and 1 deletions
42
pkgs/development/python-modules/keba-kecontact/default.nix
Normal file
42
pkgs/development/python-modules/keba-kecontact/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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
|
||||
];
|
||||
|
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue