depot/third_party/nixpkgs/pkgs/development/python-modules/evohome-async/default.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

49 lines
912 B
Nix

{ lib
, aiohttp
, buildPythonPackage
, click
, fetchFromGitHub
, hatchling
, pythonOlder
, voluptuous
}:
buildPythonPackage rec {
pname = "evohome-async";
version = "0.4.17";
pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "zxdavb";
repo = "evohome-async";
rev = "refs/tags/${version}";
hash = "sha256-8Dl23U0LynNPxDpo79CmA4H8o2knU2rrtNYwDPZBVRQ=";
};
nativeBuildInputs = [
hatchling
];
propagatedBuildInputs = [
aiohttp
click
voluptuous
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"evohomeasync2"
];
meta = with lib; {
description = "Python client for connecting to Honeywell's TCC RESTful API";
homepage = "https://github.com/zxdavb/evohome-async";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
mainProgram = "evo-client";
};
}