python3Packages.pyclimacell: init at 0.18.0

This commit is contained in:
Fabian Affolter 2021-04-10 21:31:54 +02:00
parent 41d8ec87b2
commit fb327d72df
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,39 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, pytz
}:
buildPythonPackage rec {
pname = "pyclimacell";
version = "0.18.0";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "raman325";
repo = pname;
rev = "v${version}";
sha256 = "0pxlh3lwd1az6v7vbaz9kv6ngqxf34iddp7vr0d0p8apbvinwrha";
};
propagatedBuildInputs = [
aiohttp
pytz
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "pyclimacell" ];
meta = with lib; {
description = "Python client for ClimaCell API";
homepage = "https://github.com/raman325/pyclimacell";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -5595,6 +5595,8 @@ in {
PyChromecast = callPackage ../development/python-modules/pychromecast { };
pyclimacell = callPackage ../development/python-modules/pyclimacell { };
pyclipper = callPackage ../development/python-modules/pyclipper { };
pycm = callPackage ../development/python-modules/pycm { };