mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-24 20:02:58 +03:00
Haskell mode for emacs
svn path=/nixpkgs/trunk/; revision=1832
This commit is contained in:
parent
17f7a05a97
commit
6863445f23
6
pkgs/applications/editors/emacs/modes/haskell/builder.sh
Normal file
6
pkgs/applications/editors/emacs/modes/haskell/builder.sh
Normal file
@ -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
|
@ -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";
|
||||
};
|
||||
}
|
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user