home-assistant: relax ciso8601, overrride astral

This commit is contained in:
Martin Weinelt 2023-01-01 01:04:10 +01:00
parent f7344bdd9a
commit 4920c82507

View File

@ -43,6 +43,22 @@ let
};
});
astral = super.astral.overridePythonAttrs (oldAttrs: rec {
pname = "astral";
version = "2.2";
src = self.fetchPypi {
inherit pname version;
hash = "sha256-5B2ZZ9XEi+QhNGVS8PTe2tQ/85qDV09f8q0ytmJ7b74=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace "poetry.masonry" "poetry.core.masonry"
'';
propagatedBuildInputs = oldAttrs.propagatedBuildInputs ++ [
self.pytz
];
});
caldav = super.caldav.overridePythonAttrs (old: rec {
version = "0.9.1";
src = fetchFromGitHub {
@ -225,6 +241,7 @@ in python.pkgs.buildPythonApplication rec {
"attrs"
"awesomeversion"
"bcrypt"
"ciso8601"
"cryptography"
"home-assistant-bluetooth"
"httpx"