at 24.11-pre 39 lines 877 B view raw
1{ lib, stdenv, fetchFromGitHub, ocamlPackages }: 2 3stdenv.mkDerivation { 4 pname = "ledit"; 5 version = "2.06"; 6 7 src = fetchFromGitHub { 8 owner = "chetmurthy"; 9 repo = "ledit"; 10 rev = "3dbd668d9c69aab5ccd61f6b906c14122ae3271d"; 11 hash = "sha256-9+isvwOw5Iw5OToztqZ5PiQPj6Pxl2ZqAC7UMF+tCM4="; 12 }; 13 14 preBuild = '' 15 substituteInPlace Makefile --replace /bin/rm rm --replace /usr/local/ $out/ 16 ''; 17 18 strictDeps = true; 19 20 nativeBuildInputs = with ocamlPackages; [ 21 ocaml 22 findlib 23 camlp5 24 ]; 25 26 buildInputs = with ocamlPackages; [ 27 camlp5 28 camlp-streams 29 ]; 30 31 32 meta = with lib; { 33 homepage = "http://pauillac.inria.fr/~ddr/ledit/"; 34 description = "A line editor, allowing to use shell commands with control characters like in emacs"; 35 license = licenses.bsd3; 36 maintainers = [ maintainers.delta ]; 37 mainProgram = "ledit"; 38 }; 39}