From 398fc5d9fe4590b1819c2c5da0a063495acee944 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 4 Sep 2015 12:38:51 +0200 Subject: [PATCH] emacs-ido-ubiquitous: add version 3.6-4-gb659bf8 --- .../emacs-modes/ido-ubiquitous/default.nix | 26 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/applications/editors/emacs-modes/ido-ubiquitous/default.nix diff --git a/pkgs/applications/editors/emacs-modes/ido-ubiquitous/default.nix b/pkgs/applications/editors/emacs-modes/ido-ubiquitous/default.nix new file mode 100644 index 000000000000..3cc8156337e0 --- /dev/null +++ b/pkgs/applications/editors/emacs-modes/ido-ubiquitous/default.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchFromGitHub, emacs }: + +let + version = "3.6-4-gb659bf8"; +in +stdenv.mkDerivation { + name = "ido-ubiquitous-${version}"; + + src = fetchFromGitHub { + owner = "DarwinAwardWinner"; + repo = "ido-ubiquitous"; + rev = version; + sha256 = "06r8qpfr60gc673w881m0nplj91b6bfw77bxgl6irz1z9bp7cc4y"; + }; + + buildInputs = [ emacs ]; + + buildPhase = '' + emacs -L . --batch -f batch-byte-compile *.el + ''; + + installPhase = '' + install -d $out/share/emacs/site-lisp + install *.el *.elc $out/share/emacs/site-lisp + ''; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 29c1c94a3309..a57eea887360 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11260,6 +11260,8 @@ let htmlize = callPackage ../applications/editors/emacs-modes/htmlize { }; + ido-ubiquitous = callPackage ../applications/editors/emacs-modes/ido-ubiquitous { }; + icicles = callPackage ../applications/editors/emacs-modes/icicles { }; idris = callPackage ../applications/editors/emacs-modes/idris { };