Emacs PHP mode: packaged. Patch by Karn Kallio.
svn path=/nixpkgs/trunk/; revision=25216
This commit is contained in:
parent
d43bda0086
commit
9b4c2f5f56
7
pkgs/applications/editors/emacs-modes/php/builder.sh
Normal file
7
pkgs/applications/editors/emacs-modes/php/builder.sh
Normal 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-*
|
12
pkgs/applications/editors/emacs-modes/php/default.nix
Normal file
12
pkgs/applications/editors/emacs-modes/php/default.nix
Normal 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;
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user