1 { lib, stdenv, fetchurl, ncurses, gettext, python3, python3Packages, makeWrapper }:
3 stdenv.mkDerivation rec {
8 url = "https://calcurse.org/files/${pname}-${version}.tar.gz";
9 sha256 = "sha256-SKc2ZmzEtrUwEtc7OqcBUsGLQebHtIB/qw8WjWRa4yw=";
12 buildInputs = [ ncurses gettext python3 python3Packages.wrapPython ];
13 nativeBuildInputs = [ makeWrapper ];
17 buildPythonPath "${python3Packages.httplib2} ${python3Packages.oauth2client}"
18 patchPythonScript $out/bin/calcurse-caldav
22 description = "A calendar and scheduling application for the command line";
24 calcurse is a calendar and scheduling application for the command line. It helps
25 keep track of events, appointments and everyday tasks. A configurable notification
26 system reminds users of upcoming deadlines, the curses based interface can be
27 customized to suit user needs and a very powerful set of command line options can
28 be used to filter and format appointments, making it suitable for use in scripts.
30 homepage = "https://calcurse.org/";
31 changelog = "https://git.calcurse.org/calcurse.git/plain/CHANGES.md?h=v${version}";
32 license = licenses.bsd2;
33 platforms = platforms.unix;