Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
a60e9fb33c
|
@ -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
|
||||||
|
};
|
||||||
|
})
|
|
@ -11,7 +11,13 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = "-I${glib}/include/glib-2.0 -I${glib}/lib/glib-2.0/include -I${libxml2}/include/libxml2";
|
NIX_CFLAGS_COMPILE = "-I${glib}/include/glib-2.0 -I${glib}/lib/glib-2.0/include -I${libxml2}/include/libxml2";
|
||||||
|
|
||||||
patchPhase = "sed -i 's/UpnpString_get_String(es_event->PublisherUrl)/es_event->PublisherUrl/' libretroshare/src/upnp/UPnPBase.cpp";
|
patchPhase = ''
|
||||||
|
sed -i 's/UpnpString_get_String(es_event->PublisherUrl)/es_event->PublisherUrl/' \
|
||||||
|
libretroshare/src/upnp/UPnPBase.cpp
|
||||||
|
# Extensions get installed
|
||||||
|
sed -i "s,/usr/lib/retroshare/extensions/,$out/share/retroshare," \
|
||||||
|
libretroshare/src/rsserver/rsinit.cc
|
||||||
|
'';
|
||||||
|
|
||||||
buildInputs = [ speex qt libupnp gpgme gnome3.libgnome_keyring glib libssh pkgconfig
|
buildInputs = [ speex qt libupnp gpgme gnome3.libgnome_keyring glib libssh pkgconfig
|
||||||
protobuf bzip2 libXScrnSaver curl libxml2 libxslt ];
|
protobuf bzip2 libXScrnSaver curl libxml2 libxslt ];
|
||||||
|
@ -24,8 +30,12 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
ln -s $out/retroshare-nogui $out/bin
|
mv $out/retroshare-nogui $out/bin
|
||||||
ln -s $out/RetroShare $out/bin
|
mv $out/RetroShare $out/bin
|
||||||
|
|
||||||
|
# plugins
|
||||||
|
mkdir -p $out/share/retroshare
|
||||||
|
mv $out/lib* $out/share/retroshare
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
, tastyHunit, tastyQuickcheck, tastyRerun, text, time, transformers
|
, tastyHunit, tastyQuickcheck, tastyRerun, text, time, transformers
|
||||||
, unixCompat, utf8String, uuid, wai, waiExtra, warp, warpTls, which
|
, unixCompat, utf8String, uuid, wai, waiExtra, warp, warpTls, which
|
||||||
, xmlTypes, yesod, yesodCore, yesodDefault, yesodForm, yesodStatic
|
, xmlTypes, yesod, yesodCore, yesodDefault, yesodForm, yesodStatic
|
||||||
|
, fsnotify
|
||||||
}:
|
}:
|
||||||
|
|
||||||
cabal.mkDerivation (self: {
|
cabal.mkDerivation (self: {
|
||||||
|
@ -21,9 +22,9 @@ cabal.mkDerivation (self: {
|
||||||
isExecutable = true;
|
isExecutable = true;
|
||||||
buildDepends = [
|
buildDepends = [
|
||||||
aeson async blazeBuilder bloomfilter byteable caseInsensitive
|
aeson async blazeBuilder bloomfilter byteable caseInsensitive
|
||||||
clientsession cryptoApi cryptohash dataDefault dataenc DAV dbus
|
clientsession cryptoApi cryptohash dataDefault dataenc DAV
|
||||||
dlist dns editDistance exceptions extensibleExceptions fdoNotify
|
dlist dns editDistance exceptions extensibleExceptions
|
||||||
feed filepath gnutls hamlet hinotify hS3 hslogger HTTP httpClient
|
feed filepath gnutls hamlet hS3 hslogger HTTP httpClient
|
||||||
httpConduit httpTypes IfElse json liftedBase MissingH monadControl
|
httpConduit httpTypes IfElse json liftedBase MissingH monadControl
|
||||||
mtl network networkConduit networkInfo networkMulticast
|
mtl network networkConduit networkInfo networkMulticast
|
||||||
networkProtocolXmpp optparseApplicative QuickCheck random regexTdfa
|
networkProtocolXmpp optparseApplicative QuickCheck random regexTdfa
|
||||||
|
@ -31,19 +32,13 @@ cabal.mkDerivation (self: {
|
||||||
tastyQuickcheck tastyRerun text time transformers unixCompat
|
tastyQuickcheck tastyRerun text time transformers unixCompat
|
||||||
utf8String uuid wai waiExtra warp warpTls xmlTypes yesod yesodCore
|
utf8String uuid wai waiExtra warp warpTls xmlTypes yesod yesodCore
|
||||||
yesodDefault yesodForm yesodStatic
|
yesodDefault yesodForm yesodStatic
|
||||||
];
|
] ++ (if (!self.stdenv.isDarwin) then [
|
||||||
|
dbus fdoNotify hinotify
|
||||||
|
] else [
|
||||||
|
fsnotify
|
||||||
|
]);
|
||||||
buildTools = [ bup curl git gnupg1 lsof openssh perl rsync which ];
|
buildTools = [ bup curl git gnupg1 lsof openssh perl rsync which ];
|
||||||
configureFlags = "-fS3
|
configureFlags = "-fAssistant -fProduction";
|
||||||
-fWebDAV
|
|
||||||
-fInotify
|
|
||||||
-fDbus
|
|
||||||
-fAssistant
|
|
||||||
-fWebapp
|
|
||||||
-fPairing
|
|
||||||
-fXMPP
|
|
||||||
-fDNS
|
|
||||||
-fProduction
|
|
||||||
-fTDFA";
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
export HOME="$NIX_BUILD_TOP/tmp"
|
export HOME="$NIX_BUILD_TOP/tmp"
|
||||||
mkdir "$HOME"
|
mkdir "$HOME"
|
||||||
|
|
|
@ -18,7 +18,13 @@ stdenv.mkDerivation (rec {
|
||||||
sha256 = "0fsn7xis81za62afan0vvm38bvgzg5wfmv1m86flqcj0nj7jjilh";
|
sha256 = "0fsn7xis81za62afan0vvm38bvgzg5wfmv1m86flqcj0nj7jjilh";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./patch-ac ];
|
clangPatch = fetchurl {
|
||||||
|
# Patch referenced from https://github.com/Homebrew/homebrew-dupes/issues/43
|
||||||
|
url = "http://lists.gnu.org/archive/html/bug-ncurses/2011-04/txtkWQqiQvcZe.txt";
|
||||||
|
sha256 = "03lrwqvb0r2qgi8hz7ayd3g26d6xilr3c92j8li3b77kdc0w0rlv";
|
||||||
|
};
|
||||||
|
|
||||||
|
patches = [ ./patch-ac ] ++ stdenv.lib.optional stdenv.isDarwin clangPatch;
|
||||||
|
|
||||||
configureFlags = ''
|
configureFlags = ''
|
||||||
--with-shared --without-debug --enable-pc-files --enable-symlinks
|
--with-shared --without-debug --enable-pc-files --enable-symlinks
|
||||||
|
|
|
@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
# As zlib takes part in the stdenv building, we don't want references
|
# As zlib takes part in the stdenv building, we don't want references
|
||||||
# to the bootstrap-tools libgcc (as uses to happen on arm/mips)
|
# to the bootstrap-tools libgcc (as uses to happen on arm/mips)
|
||||||
NIX_CFLAGS_COMPILE = "-static-libgcc";
|
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString (!stdenv.isDarwin) "-static-libgcc";
|
||||||
|
|
||||||
crossAttrs = {
|
crossAttrs = {
|
||||||
dontStrip = static;
|
dontStrip = static;
|
||||||
|
|
|
@ -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