python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / applications / misc / gsimplecal / default.nix
blobf475df8f7b042539ba42b5bb9687b1996535a97b
1 { lib, stdenv, fetchFromGitHub, automake, autoconf, pkg-config, gtk3 }:
3 stdenv.mkDerivation rec {
4   pname = "gsimplecal";
5   version = "2.4.1";
7   src = fetchFromGitHub {
8     owner = "dmedvinsky";
9     repo = "gsimplecal";
10     rev = "v${version}";
11     sha256 = "sha256-8faYw8tg8pOkpImcv8TM4UUpQEEtDKjAk4iKbXDC9no=";
12   };
14   postPatch = ''
15     sed -ie '/sys\/sysctl.h/d' src/Unique.cpp
16   '';
18   enableParallelBuilding = true;
20   nativeBuildInputs = [ pkg-config automake autoconf ];
21   buildInputs = [ gtk3 ];
23   preConfigure = "./autogen.sh";
25   meta = {
26     homepage = "http://dmedvinsky.github.io/gsimplecal/";
27     description = "Lightweight calendar application written in C++ using GTK";
28     longDescription = ''
29       gsimplecal was intentionally made for use with tint2 panel in the
30       openbox environment to be launched upon clock click, but of course it
31       will work without it. In fact, binding the gsimplecal to some hotkey in
32       you window manager will probably make you happy. The thing is that when
33       it is started it first shows up, when you run it again it closes the
34       running instance. In that way it is very easy to integrate anywhere. No
35       need to write some wrapper scripts or whatever.
37       Also, you can configure it to not only show the calendar, but also
38       display multiple clocks for different world time zones.
39     '';
40     license = lib.licenses.bsd3;
41     maintainers = [ lib.maintainers.romildo ];
42     platforms = lib.platforms.linux;
43   };