From 9477c248fa1c8119f11cb809e17ce4414039abd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Romildo=20Malaquias?= Date: Fri, 4 Mar 2016 07:42:08 -0300 Subject: [PATCH] gsimplecal: init at 2.1 --- pkgs/applications/misc/gsimplecal/default.nix | 37 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 39 insertions(+) create mode 100644 pkgs/applications/misc/gsimplecal/default.nix diff --git a/pkgs/applications/misc/gsimplecal/default.nix b/pkgs/applications/misc/gsimplecal/default.nix new file mode 100644 index 00000000000..975bc3b358d --- /dev/null +++ b/pkgs/applications/misc/gsimplecal/default.nix @@ -0,0 +1,37 @@ +{ 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; + + buildInputs = [ pkgconfig 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.unix; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index eac026add04..8da003ec51f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12150,6 +12150,8 @@ let inherit (gnome) libgnome libgnomeui vte; }; + gsimplecal = callPackage ../applications/misc/gsimplecal { }; + gtimelog = pythonPackages.gtimelog; inherit (gnome3) gucharmap;