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
|
{ lib
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchPypi
|
||||||
, python3
|
, python3
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -8,11 +9,16 @@ let
|
||||||
packageOverrides = self: super: {
|
packageOverrides = self: super: {
|
||||||
# autosuspend is incompatible with tzlocal v5
|
# autosuspend is incompatible with tzlocal v5
|
||||||
# See https://github.com/regebro/tzlocal#api-change
|
# See https://github.com/regebro/tzlocal#api-change
|
||||||
tzlocal = super.tzlocal.overridePythonAttrs (prev: {
|
tzlocal = super.tzlocal.overridePythonAttrs (prev: rec {
|
||||||
src = prev.src.override {
|
|
||||||
version = "4.3.1";
|
version = "4.3.1";
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit (prev) pname;
|
||||||
|
inherit version;
|
||||||
hash = "sha256-7jLvjCCAPBmpbtNmrd09SnKe9jCctcc1mgzC7ut/pGo=";
|
hash = "sha256-7jLvjCCAPBmpbtNmrd09SnKe9jCctcc1mgzC7ut/pGo=";
|
||||||
};
|
};
|
||||||
|
propagatedBuildInputs = with self; [
|
||||||
|
pytz-deprecation-shim
|
||||||
|
];
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue