Files
nixpkgs/pkgs/development/python-modules/heatzypy/default.nix
T
2025-01-04 00:19:17 +01:00

45 lines
871 B
Nix

{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
setuptools,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "heatzypy";
version = "2.5.6";
pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "Cyr-ius";
repo = "heatzypy";
tag = version;
hash = "sha256-+iT3lE54xt7usz9v9JZqwQa0Xf1eLlN5VuQrjzmWo6Y=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [ aiohttp ];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "heatzypy" ];
meta = with lib; {
description = "Module to interact with Heatzy devices";
homepage = "https://github.com/Cyr-ius/heatzypy";
changelog = "https://github.com/cyr-ius/heatzypy/releases/tag/${version}";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ fab ];
};
}