flake-update-20260201
1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 hatchling,
6 python-dateutil,
7 caldav,
8}:
9
10buildPythonPackage rec {
11 pname = "nextmeeting";
12 version = "3.0.0";
13 pyproject = true;
14
15 src = fetchFromGitHub {
16 owner = "chmouel";
17 repo = "nextmeeting";
18 rev = version;
19 hash = "sha256-lw1orSZ6Wbr9u5kr6t7B70AbWNeESnD0M+NjBg9tT5g=";
20 };
21
22 build-system = [ hatchling ];
23
24 dependencies = [
25 python-dateutil
26 caldav
27 ];
28
29 pythonImportsCheck = [ "nextmeeting" ];
30
31 # Tests require gcalcli setup
32 doCheck = false;
33
34 meta = {
35 description = "Show your Google Calendar next meeting in waybar/polybar";
36 homepage = "https://github.com/chmouel/nextmeeting";
37 license = lib.licenses.asl20;
38 mainProgram = "nextmeeting";
39 };
40}