depot/third_party/nixpkgs/pkgs/tools/misc/wyrd/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

38 lines
1.2 KiB
Nix

{ lib, stdenv, fetchurl, ocamlPackages, ncurses, remind }:
stdenv.mkDerivation rec {
version = "1.4.6";
pname = "wyrd";
src = fetchurl {
url = "http://pessimization.com/software/wyrd/wyrd-${version}.tar.gz";
sha256 = "0zlrg602q781q8dij62lwdprpfliyy9j1rqfqcz8p2wgndpivddj";
};
preConfigure = ''
substituteInPlace curses/curses.ml --replace 'pp gcc' "pp $CC"
'';
strictDeps = true;
nativeBuildInputs = [ ocamlPackages.ocaml ocamlPackages.camlp4 ];
buildInputs = [ ncurses remind ];
preferLocalBuild = true;
meta = with lib; {
description = "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.gpl2Only;
maintainers = [ maintainers.prikhi ];
platforms = platforms.linux;
mainProgram = "wyrd";
};
}