Files
nixpkgs/pkgs/by-name/gs/gsimplecal/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

58 lines
1.5 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
automake,
autoconf,
pkg-config,
gtk3,
}:
stdenv.mkDerivation rec {
pname = "gsimplecal";
version = "2.5.2";
src = fetchFromGitHub {
owner = "dmedvinsky";
repo = "gsimplecal";
rev = "v${version}";
sha256 = "sha256-OaXZ/ch/Os6oi6V75Sy+QHeIGolwtieecFuLy4998yc=";
};
postPatch = ''
sed -i -e '/sys\/sysctl.h/d' src/Unique.cpp
'';
enableParallelBuilding = true;
nativeBuildInputs = [
pkg-config
automake
autoconf
];
buildInputs = [ 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 = lib.licenses.bsd3;
maintainers = [ lib.maintainers.romildo ];
platforms = lib.platforms.linux;
mainProgram = "gsimplecal";
};
}