Skip to content

Commit 73d665e

Browse files
annextimelog: 0.14.0 -> 0.15.0 (+tests) (#407567)
2 parents 35514ad + 00cfea1 commit 73d665e

File tree

1 file changed

+11
-21
lines changed

1 file changed

+11
-21
lines changed

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

Lines changed: 11 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -5,39 +5,29 @@
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";
21-
version = "0.14.0";
10+
version = "0.15.0";
2211
format = "pyproject";
2312

2413
src = fetchFromGitLab {
2514
owner = "nobodyinperson";
2615
repo = "annextimelog";
2716
rev = "v${version}";
28-
hash = "sha256-+3PkG33qKckagSVvVdqkypulO7uu5AMOv8fQiP8IUbs=";
17+
hash = "sha256-RfqBtbfArFva3TVJGF4STx0QTio62qxXaM23lsLYLUg=";
2918
};
3019

3120
pythonRelaxDeps = [ "rich" ];
3221

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

4232
propagatedBuildInputs = with python3.pkgs; [
4333
rich

0 commit comments

Comments
 (0)