about summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2014-06-20 22:36:06 -0700
committerJohn Wiegley <johnw@newartisans.com>2014-06-20 22:36:06 -0700
commit073933101e7aa47eb8756dc0b4385bd46a436c70 (patch)
treee34111257ba5ee8cc437fa072521901faddc3567 /pkgs/applications
parent0cf6e55a701a460ac6b28850cd16641b707d3ba8 (diff)
downloadnixlib-073933101e7aa47eb8756dc0b4385bd46a436c70.tar
nixlib-073933101e7aa47eb8756dc0b4385bd46a436c70.tar.gz
nixlib-073933101e7aa47eb8756dc0b4385bd46a436c70.tar.bz2
nixlib-073933101e7aa47eb8756dc0b4385bd46a436c70.tar.lz
nixlib-073933101e7aa47eb8756dc0b4385bd46a436c70.tar.xz
nixlib-073933101e7aa47eb8756dc0b4385bd46a436c70.tar.zst
nixlib-073933101e7aa47eb8756dc0b4385bd46a436c70.zip
proofgeneral: Delete default.nix for proofgeneral
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/editors/emacs-modes/proofgeneral/default.nix54
1 files changed, 0 insertions, 54 deletions
diff --git a/pkgs/applications/editors/emacs-modes/proofgeneral/default.nix b/pkgs/applications/editors/emacs-modes/proofgeneral/default.nix
deleted file mode 100644
index 3f974423fd70..000000000000
--- a/pkgs/applications/editors/emacs-modes/proofgeneral/default.nix
+++ /dev/null
@@ -1,54 +0,0 @@
-{ stdenv, fetchurl, emacs, texinfo, texLive, perl, which, automake }:
-
-stdenv.mkDerivation (rec {
-  name = "ProofGeneral-4.2";
-
-  src = fetchurl {
-    url = http://proofgeneral.inf.ed.ac.uk/releases/ProofGeneral-4.2.tgz;
-    sha256 = "09qb0myq66fw17v4ziz401ilsb5xlxz1nl2wsp69d0vrfy0bcrrm";
-  };
-
-  sourceRoot = name;
-
-  buildInputs = [ emacs texinfo texLive perl which ];
-
-  prePatch =
-    '' sed -i "Makefile" \
-           -e "s|^\(\(DEST_\)\?PREFIX\)=.*$|\1=$out|g ; \
-               s|/sbin/install-info|install-info|g"
-
-
-       # Workaround for bug #458 
-       # ProofGeneral 4.2 byte-compilation fails with Emacs 24.2.90
-       # http://proofgeneral.inf.ed.ac.uk/trac/ticket/458
-       sed -i "Makefile" \
-       	   -e "s|(setq byte-compile-error-on-warn t)||g"
-
-       sed -i "bin/proofgeneral" -e's/which/type -p/g'
-
-       # @image{ProofGeneral} fails, so remove it.
-       sed -i '94d' doc/PG-adapting.texi
-       sed -i '101d' doc/ProofGeneral.texi
-    '';
-
-  preBuild = ''
-    make clean;
-  '';
-
-  installPhase =
-    # Copy `texinfo.tex' in the right place so that `texi2pdf' works.
-    '' cp -v "${automake}/share/"automake-*/texinfo.tex doc
-       make install install-doc
-    '';
-
-  meta = {
-    description = "Proof General, an Emacs front-end for proof assistants";
-    longDescription = ''
-      Proof General is a generic front-end for proof assistants (also known as
-      interactive theorem provers), based on the customizable text editor Emacs.
-    '';
-    homepage = http://proofgeneral.inf.ed.ac.uk;
-    license = "GPLv2+";
-    platforms = stdenv.lib.platforms.gnu;  # arbitrary choice
-  };
-})