Files
nixpkgs/pkgs/by-name/ca/calcurse/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

51 lines
1.4 KiB
Nix

{
lib,
stdenv,
fetchurl,
ncurses,
gettext,
python3,
python3Packages,
makeWrapper,
}:
stdenv.mkDerivation rec {
pname = "calcurse";
version = "4.8.1";
src = fetchurl {
url = "https://calcurse.org/files/${pname}-${version}.tar.gz";
hash = "sha256-2GuzcBT9abjYPMuQSsl5xrjd9Z7j28gPWidFJeTVgwo=";
};
buildInputs = [
ncurses
gettext
python3
python3Packages.wrapPython
];
nativeBuildInputs = [ makeWrapper ];
postInstall = ''
patchShebangs .
buildPythonPath "${python3Packages.httplib2} ${python3Packages.oauth2client}"
patchPythonScript $out/bin/calcurse-caldav
'';
meta = {
description = "Calendar and scheduling application for the command line";
longDescription = ''
calcurse is a calendar and scheduling application for the command line. It helps
keep track of events, appointments and everyday tasks. A configurable notification
system reminds users of upcoming deadlines, the curses based interface can be
customized to suit user needs and a very powerful set of command line options can
be used to filter and format appointments, making it suitable for use in scripts.
'';
homepage = "https://calcurse.org/";
changelog = "https://git.calcurse.org/calcurse.git/plain/CHANGES.md?h=v${version}";
license = lib.licenses.bsd2;
platforms = lib.platforms.unix;
maintainers = [ lib.maintainers.matthiasbeyer ];
};
}