diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-03-15 00:02:32 +0100 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2021-03-15 00:02:32 +0100 |
commit | ca4406f30f741b3cbb728b3fc64a3413c1b790c1 (patch) | |
tree | f9485ccfc4b92ab9b95d092400d98501979c4afc /pkgs/development/python-modules/evohome-async/default.nix | |
parent | 916536210d4faa221216d6319f39b2a7167beb59 (diff) |
python3Packages.evohome-async: init at 0.3.8
Diffstat (limited to 'pkgs/development/python-modules/evohome-async/default.nix')
-rw-r--r-- | pkgs/development/python-modules/evohome-async/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/evohome-async/default.nix b/pkgs/development/python-modules/evohome-async/default.nix new file mode 100644 index 0000000000000..0f38faf57340e --- /dev/null +++ b/pkgs/development/python-modules/evohome-async/default.nix @@ -0,0 +1,34 @@ +{ lib +, aiohttp +, buildPythonPackage +, fetchFromGitHub +, pythonOlder +}: + +buildPythonPackage rec { + pname = "evohome-async"; + version = "0.3.8"; + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "zxdavb"; + repo = pname; + rev = version; + sha256 = "04xy72k79cnb8pc19v5jzkc0djazfm6pbm10ysphx06ndwvxr9mn"; + }; + + propagatedBuildInputs = [ + aiohttp + ]; + + # 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 ]; + }; +} |