python3Packages.yalexs: init at 1.1.10

This commit is contained in:
Fabian Affolter 2021-04-08 00:43:47 +02:00
parent 4cb48cc256
commit c33772a781
2 changed files with 60 additions and 0 deletions

View file

@ -0,0 +1,58 @@
{ lib
, aiofiles
, aiohttp
, aioresponses
, aiounittest
, asynctest
, buildPythonPackage
, fetchFromGitHub
, pubnub
, pytestCheckHook
, python-dateutil
, pythonOlder
, requests
, requests-mock
}:
buildPythonPackage rec {
pname = "yalexs";
version = "1.1.10";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "bdraco";
repo = pname;
rev = "v${version}";
sha256 = "1qmxiafqmh51i3l30pajaqj5h0kziq4d37fn6hl58429bb85dpp9";
};
propagatedBuildInputs = [
aiofiles
aiohttp
pubnub
python-dateutil
requests
];
checkInputs = [
aioresponses
aiounittest
asynctest
pytestCheckHook
requests-mock
];
postPatch = ''
# Not used requirement
substituteInPlace setup.py --replace '"vol",' ""
'';
pythonImportsCheck = [ "yalexs" ];
meta = with lib; {
description = "Python API for Yale Access (formerly August) Smart Lock and Doorbell";
homepage = "https://github.com/bdraco/yalexs";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -9025,6 +9025,8 @@ in {
yalesmartalarmclient = callPackage ../development/python-modules/yalesmartalarmclient { };
yalexs = callPackage ../development/python-modules/yalexs { };
yamale = callPackage ../development/python-modules/yamale { };
yamllint = callPackage ../development/python-modules/yamllint { };