depot/third_party/nixpkgs/pkgs/development/python-modules/heatzypy/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

44 lines
886 B
Nix

{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
setuptools,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "heatzypy";
version = "2.5.5";
pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "Cyr-ius";
repo = "heatzypy";
rev = "refs/tags/${version}";
hash = "sha256-S1wIVeUTbtF5omImt38YNvZEutyCEYMGExccs0FIK44=";
};
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 ];
};
}