* nxml package.
svn path=/nixpkgs/trunk/; revision=578
This commit is contained in:
11
pkgs/applications/editors/emacs/modes/nxml/builder.sh
Executable file
11
pkgs/applications/editors/emacs/modes/nxml/builder.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#! /bin/sh
|
||||
|
||||
. $stdenv/setup || exit 1
|
||||
|
||||
mkdir -p $out/emacs/site-lisp || exit 1
|
||||
cd $out/emacs/site-lisp || exit 1
|
||||
tar xvfz $src || exit 1
|
||||
mv nxml-mode-*/* . || exit 1
|
||||
rmdir nxml-mode-*
|
||||
|
||||
exit 0
|
||||
10
pkgs/applications/editors/emacs/modes/nxml/default.nix
Normal file
10
pkgs/applications/editors/emacs/modes/nxml/default.nix
Normal file
@@ -0,0 +1,10 @@
|
||||
{stdenv, fetchurl}: derivation {
|
||||
name = "nxml-mode-20031031";
|
||||
system = stdenv.system;
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = http://www.thaiopensource.com/download/nxml-mode-20031031.tar.gz;
|
||||
md5 = "4cbc32047183e6cc1b7a2757d1078bd2";
|
||||
};
|
||||
stdenv = stdenv;
|
||||
}
|
||||
Reference in New Issue
Block a user