Files
nixpkgs/pkgs/development/python-modules/keba-kecontact/default.nix
Martin Weinelt 8ea6bde88d treewide: prune pythonOlder 3.10/3.11
This is a post 3.10 removal cleanup.
2026-02-15 04:33:54 +01:00

42 lines
876 B
Nix

{
lib,
asyncio-dgram,
buildPythonPackage,
fetchFromGitHub,
hatchling,
ifaddr,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "keba-kecontact";
version = "4.3.0";
pyproject = true;
src = fetchFromGitHub {
owner = "dannerph";
repo = "keba-kecontact";
tag = version;
hash = "sha256-gIqHo+J/I4vqJCs/r3ZHo3kChefTRqpVmdw3r3y3Hzk=";
};
build-system = [ hatchling ];
dependencies = [
asyncio-dgram
ifaddr
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "keba_kecontact" ];
meta = {
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 = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}