python3Packages.aioflo: init at 0.4.2
This commit is contained in:
parent
2c53320e41
commit
c6f1f30548
2 changed files with 47 additions and 0 deletions
45
pkgs/development/python-modules/aioflo/default.nix
Normal file
45
pkgs/development/python-modules/aioflo/default.nix
Normal file
|
@ -0,0 +1,45 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, aresponses
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, pytest-aiohttp
|
||||
, pytest-asyncio
|
||||
, pytest-cov
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aioflo";
|
||||
version = "0.4.2";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bachya";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1ppsinmjph6snj7s4hg28p3qa67kpkadc98ikjjg6w65vcm3dlaz";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
|
||||
propagatedBuildInputs = [ aiohttp ];
|
||||
|
||||
checkInputs = [
|
||||
aresponses
|
||||
pytest-aiohttp
|
||||
pytest-asyncio
|
||||
pytest-cov
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "aioflo" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library for Flo by Moen Smart Water Detectors";
|
||||
homepage = "https://github.com/bachya/aioflo";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -214,6 +214,8 @@ in {
|
|||
|
||||
aiofiles = callPackage ../development/python-modules/aiofiles { };
|
||||
|
||||
aioflo = callPackage ../development/python-modules/aioflo { };
|
||||
|
||||
aioftp = callPackage ../development/python-modules/aioftp { };
|
||||
|
||||
aioguardian = callPackage ../development/python-modules/aioguardian { };
|
||||
|
|
Loading…
Reference in a new issue