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

33 lines
1.1 KiB
Nix
Raw Normal View History

2017-03-19 23:32:47 +00:00
{stdenv, fetchurl, ncurses, gettext, python3, makeWrapper }:
2015-07-16 07:29:43 +01:00
2017-03-19 23:32:47 +00:00
stdenv.mkDerivation rec {
name = "calcurse-${version}";
version = "4.2.2";
2015-07-16 07:29:43 +01:00
src = fetchurl {
2017-03-19 23:32:47 +00:00
url = "http://calcurse.org/files/${name}.tar.gz";
sha256 = "0il0y06akdqgy0f9p40m4x6arn66nh7sr1w1i41bszycs7div266";
2015-07-16 07:29:43 +01:00
};
2017-03-19 23:32:47 +00:00
buildInputs = [ncurses gettext python3 ];
nativeBuildInputs = [ makeWrapper ];
2015-07-16 07:29:43 +01:00
2017-03-19 23:32:47 +00:00
postInstall = ''
makeWrapper ${python3}/bin/python3 $out/bin/calcurse-caldav
'';
meta = with stdenv.lib; {
2015-07-16 07:29:43 +01:00
description = "A 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 = http://calcurse.org/;
2017-03-19 23:32:47 +00:00
license = licenses.bsd2;
platforms = platforms.linux;
2015-07-16 07:29:43 +01:00
};
}