diff options
author | Martin Bravenboer | 2004-12-06 07:36:56 +0000 |
---|---|---|
committer | Martin Bravenboer | 2004-12-06 07:36:56 +0000 |
commit | 6863445f2381a8674cdd84e120118d391ba287f6 (patch) | |
tree | dea57263ed5161450566385b12dc2ec89ef1b073 | |
parent | 17f7a05a97cd01ae32345561d680b0bb37f25a11 (diff) |
Haskell mode for emacs
svn path=/nixpkgs/trunk/; revision=1832
-rw-r--r-- | pkgs/applications/editors/emacs/modes/haskell/builder.sh | 6 | ||||
-rw-r--r-- | pkgs/applications/editors/emacs/modes/haskell/default.nix | 8 | ||||
-rw-r--r-- | pkgs/system/all-packages-generic.nix | 4 |
3 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/applications/editors/emacs/modes/haskell/builder.sh b/pkgs/applications/editors/emacs/modes/haskell/builder.sh new file mode 100644 index 000000000000..fff90a5d69cd --- /dev/null +++ b/pkgs/applications/editors/emacs/modes/haskell/builder.sh @@ -0,0 +1,6 @@ +. $stdenv/setup + +mkdir -p $out/emacs/site-lisp +tar zxvf $src +cp haskell-mode*/*.el $out/emacs/site-lisp +cp haskell-mode*/*.hs $out/emacs/site-lisp diff --git a/pkgs/applications/editors/emacs/modes/haskell/default.nix b/pkgs/applications/editors/emacs/modes/haskell/default.nix new file mode 100644 index 000000000000..33a29ae7ddef --- /dev/null +++ b/pkgs/applications/editors/emacs/modes/haskell/default.nix @@ -0,0 +1,8 @@ +{stdenv, fetchurl}: stdenv.mkDerivation { + name = "haskell-mode-1.45"; + builder = ./builder.sh; + src = fetchurl { + url = http://www.haskell.org/haskell-mode/haskell-mode-1.45.tar.gz; + md5 = "c609998580cdb9ca8888c7d47d22ca3b"; + }; +} diff --git a/pkgs/system/all-packages-generic.nix b/pkgs/system/all-packages-generic.nix index 984bd27aa34a..c4ec648e8b61 100644 --- a/pkgs/system/all-packages-generic.nix +++ b/pkgs/system/all-packages-generic.nix @@ -916,6 +916,10 @@ rec { inherit fetchurl stdenv; }; + haskellMode = (import ../applications/editors/emacs/modes/haskell) { + inherit fetchurl stdenv; + }; + nano = (import ../applications/editors/nano) { inherit fetchurl stdenv ncurses; }; |