1 { lib, stdenv, fetchFromGitHub, automake, autoconf, pkg-config, gtk3 }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-Q8vK+rIRr+Tzwq0Xw5a1pYoLkSwF6PEdqc3/Dk01++o=";
15 sed -ie '/sys\/sysctl.h/d' src/Unique.cpp
18 enableParallelBuilding = true;
20 nativeBuildInputs = [ pkg-config automake autoconf ];
21 buildInputs = [ gtk3 ];
23 preConfigure = "./autogen.sh";
26 homepage = "http://dmedvinsky.github.io/gsimplecal/";
27 description = "Lightweight calendar application written in C++ using GTK";
29 gsimplecal was intentionally made for use with tint2 panel in the
30 openbox environment to be launched upon clock click, but of course it
31 will work without it. In fact, binding the gsimplecal to some hotkey in
32 you window manager will probably make you happy. The thing is that when
33 it is started it first shows up, when you run it again it closes the
34 running instance. In that way it is very easy to integrate anywhere. No
35 need to write some wrapper scripts or whatever.
37 Also, you can configure it to not only show the calendar, but also
38 display multiple clocks for different world time zones.
40 license = lib.licenses.bsd3;
41 maintainers = [ lib.maintainers.romildo ];
42 platforms = lib.platforms.linux;