Skip to content

Commit 00cfea1

Browse files
annextimelog: use nixpkgs' tzdata
1 parent 27dbbf5 commit 00cfea1

File tree

1 file changed

+7
-20
lines changed

1 file changed

+7
-20
lines changed

pkgs/by-name/an/annextimelog/package.nix

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,6 @@
55
fetchPypi,
66
}:
77

8-
let
9-
tzdata = python3.pkgs.tzdata.overrideAttrs rec {
10-
version = "2023.4";
11-
12-
src = fetchPypi {
13-
pname = "tzdata";
14-
inherit version;
15-
hash = "sha256-3VTJTylHZVIsdzmWSbT+/ZVSJHmmZKDOyH9BvrxhSMk=";
16-
};
17-
};
18-
in
198
python3.pkgs.buildPythonApplication rec {
209
pname = "annextimelog";
2110
version = "0.15.0";
@@ -30,15 +19,13 @@ python3.pkgs.buildPythonApplication rec {
3019

3120
pythonRelaxDeps = [ "rich" ];
3221

33-
nativeBuildInputs =
34-
with python3.pkgs;
35-
[
36-
unittestCheckHook
37-
setuptools
38-
wheel
39-
poetry-core
40-
]
41-
++ [ tzdata ];
22+
nativeBuildInputs = with python3.pkgs; [
23+
unittestCheckHook
24+
setuptools
25+
wheel
26+
poetry-core
27+
tzdata
28+
];
4229

4330
unittestFlags = [ "-vb" ];
4431

0 commit comments

Comments
 (0)