nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 python3Packages,
4 fetchFromGitLab,
5}:
6
7python3Packages.buildPythonApplication rec {
8 pname = "undertime";
9 version = "4.3.0";
10 pyproject = true;
11
12 src = fetchFromGitLab {
13 owner = "anarcat";
14 repo = "undertime";
15 tag = version;
16 hash = "sha256-sQI+fpg5PFGCsS9xikMTi4Ad76TayP13UgZag6CRBxE=";
17 };
18
19 nativeBuildInputs = with python3Packages; [
20 setuptools
21 setuptools-scm
22 ];
23
24 dependencies = with python3Packages; [
25 dateparser
26 ephem
27 pytz
28 pyyaml
29 termcolor
30 tabulate
31 tzlocal
32 ];
33
34 meta = {
35 changelog = "https://gitlab.com/anarcat/undertime/-/raw/${version}/debian/changelog";
36 description = "Pick a meeting time across timezones from the commandline";
37 homepage = "https://gitlab.com/anarcat/undertime";
38 longDescription = ''
39 Undertime draws a simple 24 hour table of matching times across
40 different timezones or cities, outlining waking hours. This allows
41 picking an ideal meeting date across multiple locations for teams
42 working internationally.
43 '';
44 license = lib.licenses.agpl3Only;
45 mainProgram = "undertime";
46 maintainers = with lib.maintainers; [ dvn0 ];
47 };
48}