nixpkgs/pkgs/applications/misc/gsimplecal/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

45 lines
1.5 KiB
Nix
Raw Normal View History

2021-12-13 14:36:16 +00:00
{ lib, stdenv, fetchFromGitHub, automake, autoconf, pkg-config, gtk3 }:
2016-03-04 10:42:08 +00:00
stdenv.mkDerivation rec {
pname = "gsimplecal";
2021-02-19 10:21:38 +00:00
version = "2.2";
2016-03-04 10:42:08 +00:00
2021-12-13 14:36:16 +00:00
src = fetchFromGitHub {
owner = "dmedvinsky";
repo = "gsimplecal";
rev = "v${version}";
sha256 = "sha256-r7OitN7WSY7vxpQCraLyokgUNgvaVFjE17ghBGgxzuM=";
2016-03-04 10:42:08 +00:00
};
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;
nativeBuildInputs = [ pkg-config automake autoconf ];
buildInputs = [ gtk3 ];
2016-03-04 10:42:08 +00:00
preConfigure = "./autogen.sh";
meta = {
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.
'';
2021-01-15 05:42:41 +00:00
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.romildo ];
platforms = lib.platforms.linux;
2016-03-04 10:42:08 +00:00
};
}