emacsPackages.evil-markdown: init at 2020-06-01
This commit is contained in:
parent
0d44260ebc
commit
48b585cbe4
@ -0,0 +1,46 @@
|
||||
{ stdenv, fetchFromGitHub, emacs, emacsPackages, lib }:
|
||||
|
||||
let
|
||||
runtimeDeps = with emacsPackages; [
|
||||
evil
|
||||
markdown-mode
|
||||
];
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
pname = "evil-markdown";
|
||||
version = "2020-06-01";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Somelauw";
|
||||
repo = "evil-markdown";
|
||||
rev = "064fe9b4767470472356d20bdd08e2f30ebbc9ac";
|
||||
sha256 = "sha256-Kt2wxG1XCFowavVWtj0urM/yURKegonpZcxTy/+CrJY=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
emacs
|
||||
] ++ runtimeDeps;
|
||||
|
||||
propagatedUserEnvPkgs = runtimeDeps;
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
emacs -L . --batch -f batch-byte-compile *.el
|
||||
runHook postBuild
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
install -d $out/share/emacs/site-lisp
|
||||
install *.el *.elc $out/share/emacs/site-lisp
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Vim-like keybindings for markdown-mode";
|
||||
homepage = "https://github.com/Somelauw/evil-markdown";
|
||||
license = lib.licenses.gpl3Plus;
|
||||
maintainers = with lib.maintainers; [ leungbk ];
|
||||
platforms = emacs.meta.platforms;
|
||||
};
|
||||
}
|
@ -70,6 +70,8 @@
|
||||
ess-R-object-popup =
|
||||
callPackage ./ess-R-object-popup { };
|
||||
|
||||
evil-markdown = callPackage ./evil-markdown { };
|
||||
|
||||
font-lock-plus = callPackage ./font-lock-plus { };
|
||||
|
||||
ghc-mod = melpaBuild {
|
||||
|
Loading…
Reference in New Issue
Block a user