From a7055cbe520e904758d00aee3282685469905608 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 8 Dec 2003 11:56:50 +0000 Subject: [PATCH] * nxml package. svn path=/nixpkgs/trunk/; revision=578 --- pkgs/applications/editors/emacs/modes/nxml/builder.sh | 11 +++++++++++ .../applications/editors/emacs/modes/nxml/default.nix | 10 ++++++++++ pkgs/system/all-packages-generic.nix | 5 +++++ pkgs/system/populate-cache.nix | 10 +++++++++- 4 files changed, 35 insertions(+), 1 deletion(-) create mode 100755 pkgs/applications/editors/emacs/modes/nxml/builder.sh create mode 100644 pkgs/applications/editors/emacs/modes/nxml/default.nix diff --git a/pkgs/applications/editors/emacs/modes/nxml/builder.sh b/pkgs/applications/editors/emacs/modes/nxml/builder.sh new file mode 100755 index 000000000000..1be9ef0d1649 --- /dev/null +++ b/pkgs/applications/editors/emacs/modes/nxml/builder.sh @@ -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 diff --git a/pkgs/applications/editors/emacs/modes/nxml/default.nix b/pkgs/applications/editors/emacs/modes/nxml/default.nix new file mode 100644 index 000000000000..b5a780b307d6 --- /dev/null +++ b/pkgs/applications/editors/emacs/modes/nxml/default.nix @@ -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; +} diff --git a/pkgs/system/all-packages-generic.nix b/pkgs/system/all-packages-generic.nix index dc94fcace70e..7b19d914cf34 100644 --- a/pkgs/system/all-packages-generic.nix +++ b/pkgs/system/all-packages-generic.nix @@ -510,4 +510,9 @@ perl = perl; }; + nxml = (import ../applications/editors/emacs/modes/nxml) { + fetchurl = fetchurl; + stdenv = stdenv; + }; + } diff --git a/pkgs/system/populate-cache.nix b/pkgs/system/populate-cache.nix index e249c168447e..82c0a1f70f94 100644 --- a/pkgs/system/populate-cache.nix +++ b/pkgs/system/populate-cache.nix @@ -1,4 +1,12 @@ let { pkgs = import ./i686-linux.nix; - body = [pkgs.subversion pkgs.pan pkgs.sylpheed pkgs.MPlayer]; + body = + [ pkgs.subversion + pkgs.pan + pkgs.sylpheed + pkgs.MPlayer + pkgs.MPlayerPlugin + pkgs.gqview + pkgs.vlc + ]; } \ No newline at end of file