diff options
author | Peter Simons <simons@cryp.to> | 2015-06-12 10:32:36 +0200 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2015-06-12 10:33:10 +0200 |
commit | 214aae46c79186d4d96fd434b55cdf701cb48307 (patch) | |
tree | a5f016ce86fc03c388e88bbe09b501a0669c6639 /pkgs/applications/editors | |
parent | 1746140184acdedae851c42c1069524113a2399e (diff) | |
download | nixpkgs-214aae46c79186d4d96fd434b55cdf701cb48307.tar nixpkgs-214aae46c79186d4d96fd434b55cdf701cb48307.tar.gz nixpkgs-214aae46c79186d4d96fd434b55cdf701cb48307.tar.bz2 nixpkgs-214aae46c79186d4d96fd434b55cdf701cb48307.tar.lz nixpkgs-214aae46c79186d4d96fd434b55cdf701cb48307.tar.xz nixpkgs-214aae46c79186d4d96fd434b55cdf701cb48307.tar.zst nixpkgs-214aae46c79186d4d96fd434b55cdf701cb48307.zip |
emacs-monky: add an Mercurial mode that's inspired by Magit
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r-- | pkgs/applications/editors/emacs-modes/monky/default.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/applications/editors/emacs-modes/monky/default.nix b/pkgs/applications/editors/emacs-modes/monky/default.nix new file mode 100644 index 00000000000..8e35a4e2b57 --- /dev/null +++ b/pkgs/applications/editors/emacs-modes/monky/default.nix @@ -0,0 +1,19 @@ +{ stdenv, fetchurl, emacs, unzip }: + +stdenv.mkDerivation { + name = "emacs-monky-20150404"; + + src = fetchurl { + url = "https://github.com/ananthakumaran/monky/archive/48c0200910739b6521f26f6423b2bfb8c38b4482.zip"; + sha256 = "0yp3pzddx7yki9n3qrriqa5p442qyrdivvlc4xbl024vzjyzddrj"; + }; + + buildInputs = [ emacs unzip ]; + + 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 + ''; +} |