2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, automake, autoconf, pkg-config, gtk3 }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gsimplecal";
|
2021-02-19 19:06:45 +00:00
|
|
|
version = "2.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/dmedvinsky/gsimplecal/archive/v${version}.tar.gz";
|
2021-02-19 19:06:45 +00:00
|
|
|
sha256 = "sha256-f19cnTX83LZT2d01B1EdWSaHcfHqpFPTo5glYkAokq8=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-10-16 20:44:37 +00:00
|
|
|
postPatch = ''
|
|
|
|
sed -ie '/sys\/sysctl.h/d' src/Unique.cpp
|
|
|
|
'';
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
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.
|
|
|
|
'';
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = [ lib.maintainers.romildo ];
|
|
|
|
platforms = lib.platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|