summary refs log tree commit diff
path: root/pkgs/applications/editors/emacs-modes
diff options
context:
space:
mode:
authorMarco Maggesi <maggesi@math.unifi.it>2010-02-15 11:00:02 +0000
committerMarco Maggesi <maggesi@math.unifi.it>2010-02-15 11:00:02 +0000
commit513d653d68a80f9bdd0cb9724643fdbea5646e4b (patch)
tree57a43348481ed00412af5c0c5e56b6b751b97437 /pkgs/applications/editors/emacs-modes
parent43e167641f7cd3cb676bc5ff87d2819ccbfb13fe (diff)
downloadnixpkgs-513d653d68a80f9bdd0cb9724643fdbea5646e4b.tar
nixpkgs-513d653d68a80f9bdd0cb9724643fdbea5646e4b.tar.gz
nixpkgs-513d653d68a80f9bdd0cb9724643fdbea5646e4b.tar.bz2
nixpkgs-513d653d68a80f9bdd0cb9724643fdbea5646e4b.tar.lz
nixpkgs-513d653d68a80f9bdd0cb9724643fdbea5646e4b.tar.xz
nixpkgs-513d653d68a80f9bdd0cb9724643fdbea5646e4b.tar.zst
nixpkgs-513d653d68a80f9bdd0cb9724643fdbea5646e4b.zip
Add HOL Light and its dependencies.
Add pkgs/applications/science/logic/hol_light
and pkgs/applications/science/emacs-modes/hol_light

Some functionalities of HOL Light requires the compiled sources of
OCaml.  For now we provide a new package ocaml_with_sources.  After
this shuold be merged with the current version of OCaml already
present in nixpkgs.


svn path=/nixpkgs/trunk/; revision=20008
Diffstat (limited to 'pkgs/applications/editors/emacs-modes')
-rw-r--r--pkgs/applications/editors/emacs-modes/hol_light/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/applications/editors/emacs-modes/hol_light/default.nix b/pkgs/applications/editors/emacs-modes/hol_light/default.nix
new file mode 100644
index 00000000000..9dba1d599ff
--- /dev/null
+++ b/pkgs/applications/editors/emacs-modes/hol_light/default.nix
@@ -0,0 +1,25 @@
+{stdenv, fetchsvn}:
+
+let
+  revision = "73";
+in
+
+stdenv.mkDerivation {
+  name = "hol_light_mode-${revision}";
+
+  src = fetchsvn {
+    url = http://seanmcl-ocaml-lib.googlecode.com/svn/trunk/workshop/software/emacs;
+    rev = revision;
+    sha256 = "3ca83098960439da149a47e1caff32536601559a77f04822be742a390c67feb7";
+  };
+
+  installPhase = ''
+    DEST=$out/share/emacs/site-lisp
+    ensureDir $DEST
+    cp -a * $DEST
+  '';
+
+  meta = {
+    description = "A HOL Light mode for emacs";
+  };
+}