diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/misc/gsimplecal/default.nix')
-rw-r--r-- | nixpkgs/pkgs/applications/misc/gsimplecal/default.nix | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/misc/gsimplecal/default.nix b/nixpkgs/pkgs/applications/misc/gsimplecal/default.nix new file mode 100644 index 000000000000..7f3b3a8d6dc5 --- /dev/null +++ b/nixpkgs/pkgs/applications/misc/gsimplecal/default.nix @@ -0,0 +1,38 @@ +{ stdenv, fetchurl, automake, autoconf, pkgconfig, gtk3 }: + +stdenv.mkDerivation rec { + name = "gsimplecal-${version}"; + version = "2.1"; + + src = fetchurl { + url = "https://github.com/dmedvinsky/gsimplecal/archive/v${version}.tar.gz"; + sha256 = "1sa05ifjp41xipfspk5n6l3wzpzmp3i45q88l01p4l6k6drsq336"; + }; + + enableParallelBuilding = true; + + nativeBuildInputs = [ pkgconfig ]; + buildInputs = [ automake autoconf gtk3 ]; + + preConfigure = "./autogen.sh"; + + meta = { + homepage = http://dmedvinsky.github.io/gsimplecal/; + description = "Lightweight calendar application written in C++ using GTK"; + longDescription = '' + gsimplecal was intentionally made for use with tint2 panel in the + openbox environment to be launched upon clock click, but of course it + will work without it. In fact, binding the gsimplecal to some hotkey in + you window manager will probably make you happy. The thing is that when + it is started it first shows up, when you run it again it closes the + running instance. In that way it is very easy to integrate anywhere. No + need to write some wrapper scripts or whatever. + + Also, you can configure it to not only show the calendar, but also + display multiple clocks for different world time zones. + ''; + license = stdenv.lib.licenses.bsd3; + maintainers = [ stdenv.lib.maintainers.romildo ]; + platforms = stdenv.lib.platforms.linux; + }; +} |