emacsPackages.ocaml-mode: Remove broken package
This commit is contained in:
parent
15b3d9d277
commit
21351cfccf
pkgs/applications/editors/emacs-modes
@ -136,7 +136,6 @@
|
||||
emacsSessionManagement = callPackage ./session-management-for-emacs { };
|
||||
hsc3-mode = callPackage ./hsc3 { };
|
||||
ido-ubiquitous = callPackage ./ido-ubiquitous { };
|
||||
ocaml-mode = callPackage ./ocaml { };
|
||||
prolog-mode = callPackage ./prolog { };
|
||||
rectMark = callPackage ./rect-mark { };
|
||||
sunriseCommander = callPackage ./sunrise-commander { };
|
||||
@ -146,7 +145,6 @@
|
||||
#
|
||||
# Ideally this should be dropped some time during/after 20.03
|
||||
bbdb3 = self.melpaStablePackages.bbdb;
|
||||
ocamlMode = self.ocaml-mode;
|
||||
jade = self.jade-mode;
|
||||
# scalaMode2 = null; # No clear mapping as of now
|
||||
flymakeCursor = self.melpaStablePackages.flymake-cursor;
|
||||
|
@ -1,32 +0,0 @@
|
||||
{ stdenv, emacs, ocaml }:
|
||||
|
||||
# this package installs the emacs-mode which
|
||||
# resides in the ocaml compiler sources.
|
||||
|
||||
let version = stdenv.lib.removePrefix "ocaml-" ocaml.name;
|
||||
in stdenv.mkDerivation {
|
||||
pname = "ocaml-mode";
|
||||
inherit version;
|
||||
inherit (ocaml) prefixKey src;
|
||||
|
||||
# a quick configure to get the Makefile generated. Since
|
||||
# we do not build the ocaml itself, we don't really
|
||||
# need it to support any features.
|
||||
configureFlags = (with stdenv.lib; optional (!(versionAtLeast version "4.02")) "-no-tk") ++
|
||||
[ "-no-curses" "-no-pthread" ];
|
||||
|
||||
buildInputs = [ emacs ];
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
cd emacs;
|
||||
mkdir -p "$out/share/emacs/site-lisp" "$out/bin"
|
||||
EMACSDIR=$out/share/emacs/site-lisp make simple-install install-ocamltags
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "http://caml.inria.fr";
|
||||
description = "OCaml mode package for Emacs";
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user