python3Packages.aionotion: init at 3.0.1
This commit is contained in:
parent
4c817c73ac
commit
13f2a8f991
2 changed files with 53 additions and 0 deletions
51
pkgs/development/python-modules/aionotion/default.nix
Normal file
51
pkgs/development/python-modules/aionotion/default.nix
Normal file
|
@ -0,0 +1,51 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, aresponses
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, pytest-aiohttp
|
||||
, pytest-asyncio
|
||||
, pytest-cov
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aionotion";
|
||||
version = "3.0.1";
|
||||
format = "pyproject";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bachya";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1ydrazg7gcwf53006n1fvxh9zm77by6zi36haq1bmy5skqccyiki";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
aresponses
|
||||
pytest-aiohttp
|
||||
pytest-asyncio
|
||||
pytest-cov
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTestPaths = [ "examples" ];
|
||||
|
||||
pythonImportsCheck = [ "aionotion" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library for Notion Home Monitoring";
|
||||
homepage = "https://github.com/bachya/aionotion";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -302,6 +302,8 @@ in {
|
|||
|
||||
aionotify = callPackage ../development/python-modules/aionotify { };
|
||||
|
||||
aionotion = callPackage ../development/python-modules/aionotion { };
|
||||
|
||||
aioprocessing = callPackage ../development/python-modules/aioprocessing { };
|
||||
|
||||
aiopulse = callPackage ../development/python-modules/aiopulse { };
|
||||
|
|
Loading…
Reference in a new issue