autosuspend: update tzlocal override
This commit is contained in:
parent
cf82f1ad76
commit
01e90b2196
1 changed files with 9 additions and 3 deletions
|
@ -1,5 +1,6 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, fetchPypi
|
||||
, python3
|
||||
}:
|
||||
|
||||
|
@ -8,11 +9,16 @@ let
|
|||
packageOverrides = self: super: {
|
||||
# autosuspend is incompatible with tzlocal v5
|
||||
# See https://github.com/regebro/tzlocal#api-change
|
||||
tzlocal = super.tzlocal.overridePythonAttrs (prev: {
|
||||
src = prev.src.override {
|
||||
tzlocal = super.tzlocal.overridePythonAttrs (prev: rec {
|
||||
version = "4.3.1";
|
||||
src = fetchPypi {
|
||||
inherit (prev) pname;
|
||||
inherit version;
|
||||
hash = "sha256-7jLvjCCAPBmpbtNmrd09SnKe9jCctcc1mgzC7ut/pGo=";
|
||||
};
|
||||
propagatedBuildInputs = with self; [
|
||||
pytz-deprecation-shim
|
||||
];
|
||||
});
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue