nixpkgs-suyu/pkgs/tools/misc/wyrd/default.nix

38 lines
1.2 KiB
Nix
Raw Normal View History

2018-03-07 17:52:35 +01:00
{ stdenv, fetchurl, ocamlPackages, ncurses, remind }:
2014-12-14 02:22:28 +01:00
stdenv.mkDerivation rec {
version = "1.4.6";
pname = "wyrd";
2014-12-14 02:22:28 +01:00
src = fetchurl {
url = "http://pessimization.com/software/wyrd/wyrd-${version}.tar.gz";
sha256 = "0zlrg602q781q8dij62lwdprpfliyy9j1rqfqcz8p2wgndpivddj";
};
2019-10-30 12:34:47 +01:00
NIX_CFLAGS_COMPILE = "-DNCURSES_INTERNALS=1";
2014-12-14 02:22:28 +01:00
2018-03-07 17:52:35 +01:00
preConfigure = ''
substituteInPlace curses/curses.ml --replace 'pp gcc' "pp $CC"
'';
buildInputs = [ ocamlPackages.ocaml ncurses remind ocamlPackages.camlp4 ];
2014-12-14 02:22:28 +01:00
preferLocalBuild = true;
meta = with stdenv.lib; {
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.
'';
homepage = http://pessimization.com/software/wyrd/;
downloadPage = http://pessimization.com/software/wyrd/;
license = licenses.gpl2;
maintainers = [ maintainers.prikhi ];
platforms = platforms.linux;
};
}