2016-03-04 10:42:08 +00:00
|
|
|
{ stdenv, fetchurl, automake, autoconf, pkgconfig, gtk3 }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "gsimplecal";
|
2016-03-04 10:42:08 +00:00
|
|
|
version = "2.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/dmedvinsky/gsimplecal/archive/v${version}.tar.gz";
|
|
|
|
sha256 = "1sa05ifjp41xipfspk5n6l3wzpzmp3i45q88l01p4l6k6drsq336";
|
|
|
|
};
|
|
|
|
|
2020-08-17 19:07:17 +01:00
|
|
|
postPatch = ''
|
|
|
|
sed -ie '/sys\/sysctl.h/d' src/Unique.cpp
|
|
|
|
'';
|
|
|
|
|
2016-03-04 10:42:08 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ automake autoconf gtk3 ];
|
2016-03-04 10:42:08 +00:00
|
|
|
|
|
|
|
preConfigure = "./autogen.sh";
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://dmedvinsky.github.io/gsimplecal/";
|
2016-03-04 10:42:08 +00:00
|
|
|
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 ];
|
2016-08-06 16:30:48 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2016-03-04 10:42:08 +00:00
|
|
|
};
|
|
|
|
}
|