mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
emacs: add lorem-ipsum package
This commit is contained in:
parent
56d30f72da
commit
a8be5de82e
@ -0,0 +1,32 @@
|
||||
{ stdenv, fetchurl, emacs }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "lorem-ipsum-0.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.emacswiki.org/emacs/download/lorem-ipsum.el";
|
||||
sha256 = "122d0z3xqfaikgk34l7bh989mfxddin2ljinysp2lqw8djfi7jsl";
|
||||
};
|
||||
|
||||
phases = [ "buildPhase" "installPhase"];
|
||||
|
||||
buildInputs = [ emacs ];
|
||||
|
||||
buildPhase = ''
|
||||
cp $src lorem-ipsum.el
|
||||
emacs --batch -f batch-byte-compile lorem-ipsum.el
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
install -d $out/share/emacs/site-lisp
|
||||
install lorem-ipsum.el lorem-ipsum.elc $out/share/emacs/site-lisp
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Insert dummy pseudo Latin text for emacs.";
|
||||
homepage = http://www.emacswiki.org/emacs/LoremIpsum;
|
||||
license = "GPLv2+";
|
||||
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
@ -6691,6 +6691,8 @@ let
|
||||
|
||||
logito = callPackage ../applications/editors/emacs-modes/logito { };
|
||||
|
||||
loremIpsum = callPackage ../applications/editors/emacs-modes/lorem-ipsum { };
|
||||
|
||||
magit = callPackage ../applications/editors/emacs-modes/magit { };
|
||||
|
||||
maudeMode = callPackage ../applications/editors/emacs-modes/maude { };
|
||||
|
Loading…
Reference in New Issue
Block a user