home-assistant: pin pyopenuv at 1.0.13

This commit is contained in:
Martin Weinelt 2021-05-18 01:58:52 +02:00
parent f6b1fc2996
commit a1a1a6b1df
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -74,6 +74,23 @@ let
});
})
# Pinned due to API changes in pyopenuv>=1.1.0
(self: super: {
pyopenuv = super.pyopenuv.overridePythonAttrs (oldAttrs: rec {
version = "1.0.13";
src = fetchFromGitHub {
owner = "bachya";
repo = "pyopenuv";
rev = version;
sha256 = "1gx9xjkyvqqy8410lnbshq1j5y4cb0cdc4m505g17rwdzdwb01y8";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace "poetry.masonry.api" "poetry.core.masonry.api"
'';
});
})
# Pinned due to API changes in pyruckus>0.12
(self: super: {
pyruckus = super.pyruckus.overridePythonAttrs (oldAttrs: rec {