Emacs PHP mode: packaged. Patch by Karn Kallio.

svn path=/nixpkgs/trunk/; revision=25216
This commit is contained in:
Evgeny Egorochkin 2010-12-21 04:40:38 +00:00
parent d43bda0086
commit 9b4c2f5f56
3 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,7 @@
source $stdenv/setup
mkdir -p $out/share/emacs/site-lisp
cd $out/share/emacs/site-lisp
tar xvfz $src
mv php-mode-*/* .
rmdir php-mode-*

View File

@ -0,0 +1,12 @@
{stdenv, fetchurl}:
stdenv.mkDerivation rec {
name = "php-mode-1.5.0";
src = fetchurl {
url = "http://downloads.sourceforge.net/php-mode/${name}.tar.gz";
sha256 = "1bffgg4rpiggxqc1hvjcby24sfyzj5728zg7r6f4v6a126a7kcfq";
};
builder = ./builder.sh;
}

View File

@ -5652,6 +5652,8 @@ let
# we want it to have higher precedence.
org = hiPrio (callPackage ../applications/editors/emacs-modes/org { });
phpMode = callPackage ../applications/editors/emacs-modes/php { };
prologMode = callPackage ../applications/editors/emacs-modes/prolog { };
proofgeneral = callPackage ../applications/editors/emacs-modes/proofgeneral { };