Skip to content

Commit 571a990

Browse files
committed
world-wall-clock: init at 0.1.4
world-wall-clock is an urwid-based TUI application that provides a multi-timezone graphical clock in a terminal environment.
1 parent 09b1014 commit 571a990

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
lib,
3+
fetchFromGitHub,
4+
python3,
5+
}:
6+
7+
python3.pkgs.buildPythonApplication rec {
8+
pname = "world-wall-clock";
9+
version = "0.1.4";
10+
pyproject = true;
11+
12+
src = fetchFromGitHub {
13+
owner = "ddelabru";
14+
repo = "world-wall-clock";
15+
tag = "v${version}";
16+
hash = "sha256-OTBYSStCFBrZ8JutrhyyJpi7vRvBAUK0EKTtjvbi13I=";
17+
};
18+
19+
build-system = with python3.pkgs; [ poetry-core ];
20+
21+
dependencies = with python3.pkgs; [
22+
tzdata
23+
urwid
24+
xdg-base-dirs
25+
];
26+
27+
nativeCheckInputs = with python3.pkgs; [ pytestCheckHook ];
28+
29+
pytestFlagsArray = [ "tests/*" ];
30+
31+
meta = {
32+
description = "TUI application that provides a multi-timezone graphical clock in a terminal environment.";
33+
homepage = "https://github.com/ddelabru/world-wall-clock";
34+
license = lib.licenses.gpl3Plus;
35+
maintainers = with lib.maintainers; [ ddelabru ];
36+
mainProgram = "wwclock";
37+
platforms = lib.platforms.all;
38+
};
39+
}

0 commit comments

Comments
 (0)