lol
1{ stdenv, fetchurl, automake, autoconf, pkgconfig, gtk3 }:
2
3stdenv.mkDerivation rec {
4 name = "gsimplecal-${version}";
5 version = "2.1";
6
7 src = fetchurl {
8 url = "https://github.com/dmedvinsky/gsimplecal/archive/v${version}.tar.gz";
9 sha256 = "1sa05ifjp41xipfspk5n6l3wzpzmp3i45q88l01p4l6k6drsq336";
10 };
11
12 enableParallelBuilding = true;
13
14 nativeBuildInputs = [ pkgconfig ];
15 buildInputs = [ automake autoconf gtk3 ];
16
17 preConfigure = "./autogen.sh";
18
19 meta = {
20 homepage = http://dmedvinsky.github.io/gsimplecal/;
21 description = "Lightweight calendar application written in C++ using GTK";
22 longDescription = ''
23 gsimplecal was intentionally made for use with tint2 panel in the
24 openbox environment to be launched upon clock click, but of course it
25 will work without it. In fact, binding the gsimplecal to some hotkey in
26 you window manager will probably make you happy. The thing is that when
27 it is started it first shows up, when you run it again it closes the
28 running instance. In that way it is very easy to integrate anywhere. No
29 need to write some wrapper scripts or whatever.
30
31 Also, you can configure it to not only show the calendar, but also
32 display multiple clocks for different world time zones.
33 '';
34 license = stdenv.lib.licenses.bsd3;
35 maintainers = [ stdenv.lib.maintainers.romildo ];
36 platforms = stdenv.lib.platforms.linux;
37 };
38}