Merge pull request #200837 from fabaff/aioweenect
python310Packages.aioweenect: init at 1.1.1
This commit is contained in:
@@ -0,0 +1,56 @@
|
||||
{ lib
|
||||
, aiohttp
|
||||
, aresponses
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aioweenect";
|
||||
version = "1.1.1";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "eifinger";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-9CYdOUPCt4TkepVuVJHMZngFHyCLFwVvik1xDnfneEc=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace "--cov --cov-report term-missing --cov-report xml --cov=aioweenect tests" ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
aresponses
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aioweenect"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library for the weenect API";
|
||||
homepage = "https://github.com/eifinger/aioweenect";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
@@ -344,6 +344,8 @@ self: super: with self; {
|
||||
|
||||
aiowatttime = callPackage ../development/python-modules/aiowatttime { };
|
||||
|
||||
aioweenect = callPackage ../development/python-modules/aioweenect { };
|
||||
|
||||
aiowebostv = callPackage ../development/python-modules/aiowebostv { };
|
||||
|
||||
aiowinreg = callPackage ../development/python-modules/aiowinreg { };
|
||||
|
||||
Reference in New Issue
Block a user