2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl, ocamlPackages, ncurses, remind }:
|
2014-12-14 01:22:28 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "1.4.6";
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "wyrd";
|
2014-12-14 01:22:28 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pessimization.com/software/wyrd/wyrd-${version}.tar.gz";
|
|
|
|
sha256 = "0zlrg602q781q8dij62lwdprpfliyy9j1rqfqcz8p2wgndpivddj";
|
|
|
|
};
|
|
|
|
|
2018-03-07 16:52:35 +00:00
|
|
|
preConfigure = ''
|
|
|
|
substituteInPlace curses/curses.ml --replace 'pp gcc' "pp $CC"
|
|
|
|
'';
|
|
|
|
|
2022-04-04 11:57:15 +00:00
|
|
|
strictDeps = true;
|
|
|
|
nativeBuildInputs = [ ocamlPackages.ocaml ocamlPackages.camlp4 ];
|
|
|
|
buildInputs = [ ncurses remind ];
|
2018-03-08 17:52:38 +00:00
|
|
|
|
2014-12-14 01:22:28 +00:00
|
|
|
preferLocalBuild = true;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2014-12-14 01:22:28 +00:00
|
|
|
description = "A text-based front-end to Remind";
|
|
|
|
longDescription = ''
|
|
|
|
Wyrd is a text-based front-end to Remind, a sophisticated
|
|
|
|
calendar and alarm program. Remind's power lies in its
|
|
|
|
programmability, and Wyrd does not hide this capability behind
|
|
|
|
flashy GUI dialogs. Rather, Wyrd is designed to make you more
|
|
|
|
efficient at editing your reminder files directly.
|
|
|
|
'';
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://pessimization.com/software/wyrd/";
|
|
|
|
downloadPage = "http://pessimization.com/software/wyrd/";
|
2014-12-14 01:22:28 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.prikhi ];
|
|
|
|
platforms = platforms.linux;
|
2023-11-27 01:17:53 +00:00
|
|
|
mainProgram = "wyrd";
|
2014-12-14 01:22:28 +00:00
|
|
|
};
|
|
|
|
}
|