diff --git a/pkgs/applications/editors/emacs-modes/rudel/default.nix b/pkgs/applications/editors/emacs-modes/rudel/default.nix new file mode 100644 index 000000000000..9bb7870fb5a1 --- /dev/null +++ b/pkgs/applications/editors/emacs-modes/rudel/default.nix @@ -0,0 +1,28 @@ +{stdenv, fetchurl}: + +let + version = "0.2-4"; +in +stdenv.mkDerivation +{ + name = "rudel-${version}"; + src = fetchurl + { + url = "mirror://sourceforge/rudel/rudel-${version}.tar.gz"; + sha256 = "68247bfb702d929877f6d098932e8b0ca45c573a3510187e1ccc43e5ea194f25"; + }; + + installPhase = '' + for n in . obby zeroconf jupiter; do + ensureDir "$out/share/emacs/site-lisp/$n"; + cp $n/*.el "$out/share/emacs/site-lisp/$n/"; + done + install -D -m444 doc/card.pdf "$out/share/doc/rudel/card.pdf" + ''; + + meta = { + homepage = "http://rudel.sourceforge.net/"; + description = "Rudel is a collaborative editing environment for GNU Emacs"; + license = "GPL"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9dc6f94d683d..5f4ea28f4a81 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7860,6 +7860,10 @@ let inherit fetchurl stdenv texinfo emacs bbdb; }; + rudel = import ../applications/editors/emacs-modes/rudel { + inherit fetchurl stdenv; + }; + scalaMode = import ../applications/editors/emacs-modes/scala-mode { inherit fetchsvn stdenv emacs; };