Merge pull request #200837 from fabaff/aioweenect

python310Packages.aioweenect: init at 1.1.1

authored by

Fabian Affolter and committed by
GitHub
02836734 a84b1f82

+58
+56
pkgs/development/python-modules/aioweenect/default.nix
···
··· 1 + { lib 2 + , aiohttp 3 + , aresponses 4 + , buildPythonPackage 5 + , fetchFromGitHub 6 + , poetry-core 7 + , pytest-asyncio 8 + , pytestCheckHook 9 + , pythonOlder 10 + }: 11 + 12 + buildPythonPackage rec { 13 + pname = "aioweenect"; 14 + version = "1.1.1"; 15 + format = "pyproject"; 16 + 17 + disabled = pythonOlder "3.8"; 18 + 19 + src = fetchFromGitHub { 20 + owner = "eifinger"; 21 + repo = pname; 22 + rev = "refs/tags/v${version}"; 23 + hash = "sha256-9CYdOUPCt4TkepVuVJHMZngFHyCLFwVvik1xDnfneEc="; 24 + }; 25 + 26 + postPatch = '' 27 + substituteInPlace pyproject.toml \ 28 + --replace "--cov --cov-report term-missing --cov-report xml --cov=aioweenect tests" "" 29 + ''; 30 + 31 + nativeBuildInputs = [ 32 + poetry-core 33 + ]; 34 + 35 + propagatedBuildInputs = [ 36 + aiohttp 37 + ]; 38 + 39 + checkInputs = [ 40 + aresponses 41 + pytest-asyncio 42 + pytestCheckHook 43 + ]; 44 + 45 + 46 + pythonImportsCheck = [ 47 + "aioweenect" 48 + ]; 49 + 50 + meta = with lib; { 51 + description = "Library for the weenect API"; 52 + homepage = "https://github.com/eifinger/aioweenect"; 53 + license = with licenses; [ mit ]; 54 + maintainers = with maintainers; [ fab ]; 55 + }; 56 + }
+2
pkgs/top-level/python-packages.nix
··· 344 345 aiowatttime = callPackage ../development/python-modules/aiowatttime { }; 346 347 aiowebostv = callPackage ../development/python-modules/aiowebostv { }; 348 349 aiowinreg = callPackage ../development/python-modules/aiowinreg { };
··· 344 345 aiowatttime = callPackage ../development/python-modules/aiowatttime { }; 346 347 + aioweenect = callPackage ../development/python-modules/aioweenect { }; 348 + 349 aiowebostv = callPackage ../development/python-modules/aiowebostv { }; 350 351 aiowinreg = callPackage ../development/python-modules/aiowinreg { };