forked from mirrors/nixpkgs
home-assistant: relax ciso8601, overrride astral
This commit is contained in:
parent
00f55143d9
commit
f7d835e5e9
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue