mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-19 17:39:34 +00:00
Merge pull request #147308 from fabaff/fix-smarttub
python3Packages.python-smarttub: relax aiohttp constraint
This commit is contained in:
commit
d37defb881
|
@ -14,6 +14,8 @@
|
|||
buildPythonPackage rec {
|
||||
pname = "python-smarttub";
|
||||
version = "0.0.27";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
|
@ -36,7 +38,14 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "smarttub" ];
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "aiohttp~=3.7.3" "aiohttp>=3.7.4,<4"
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"smarttub"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python API for SmartTub enabled hot tubs";
|
||||
|
|
Loading…
Reference in a new issue