Merge pull request #3031 from jwiegley/proofgeneral
proofgeneral_4_3_pre: Add expression needed for current prooftree
This commit is contained in:
commit
3b267d77a8
|
@ -49,6 +49,6 @@ stdenv.mkDerivation (rec {
|
||||||
'';
|
'';
|
||||||
homepage = http://proofgeneral.inf.ed.ac.uk;
|
homepage = http://proofgeneral.inf.ed.ac.uk;
|
||||||
license = "GPLv2+";
|
license = "GPLv2+";
|
||||||
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
|
platforms = stdenv.lib.platforms.unix; # arbitrary choice
|
||||||
};
|
};
|
||||||
})
|
})
|
|
@ -0,0 +1,48 @@
|
||||||
|
{ stdenv, fetchurl, emacs, texinfo, texLive, perl, which, automake }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation (rec {
|
||||||
|
name = "ProofGeneral-4.3pre131011";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = http://proofgeneral.inf.ed.ac.uk/releases/ProofGeneral-4.3pre131011.tgz;
|
||||||
|
sha256 = "0104iy2xik5npkdg9p2ir6zqyrmdc93azrgm3ayvg0z76vmnb816";
|
||||||
|
};
|
||||||
|
|
||||||
|
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"
|
||||||
|
|
||||||
|
|
||||||
|
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 '96d' 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.unix; # arbitrary choice
|
||||||
|
};
|
||||||
|
})
|
|
@ -8383,12 +8383,19 @@ let
|
||||||
|
|
||||||
prologMode = callPackage ../applications/editors/emacs-modes/prolog { };
|
prologMode = callPackage ../applications/editors/emacs-modes/prolog { };
|
||||||
|
|
||||||
proofgeneral = callPackage ../applications/editors/emacs-modes/proofgeneral {
|
proofgeneral_4_2 = callPackage ../applications/editors/emacs-modes/proofgeneral/4.2.nix {
|
||||||
texinfo = texinfo4 ;
|
texinfo = texinfo4 ;
|
||||||
texLive = pkgs.texLiveAggregationFun {
|
texLive = pkgs.texLiveAggregationFun {
|
||||||
paths = [ pkgs.texLive pkgs.texLiveCMSuper ];
|
paths = [ pkgs.texLive pkgs.texLiveCMSuper ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
proofgeneral_4_3_pre = callPackage ../applications/editors/emacs-modes/proofgeneral/4.3pre.nix {
|
||||||
|
texinfo = texinfo4 ;
|
||||||
|
texLive = pkgs.texLiveAggregationFun {
|
||||||
|
paths = [ pkgs.texLive pkgs.texLiveCMSuper ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
proofgeneral = self.proofgeneral_4_2;
|
||||||
|
|
||||||
quack = callPackage ../applications/editors/emacs-modes/quack { };
|
quack = callPackage ../applications/editors/emacs-modes/quack { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue