File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
pkgs/by-name/wo/world-wall-clock Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments