emacsPackages.evil-markdown: 2020-06-01 -> 0.0.0+unstable=2021-07-21

This commit is contained in:
AndersonTorres 2021-09-14 16:49:43 -03:00
parent 6288eddbfc
commit b7d5013e7f
2 changed files with 22 additions and 31 deletions

View file

@ -1,46 +1,35 @@
{ stdenv, fetchFromGitHub, emacs, emacsPackages, lib }:
{ lib
, trivialBuild
, fetchFromGitHub
, emacs
, emacsPackages
}:
let
runtimeDeps = with emacsPackages; [
evil
markdown-mode
];
in
stdenv.mkDerivation {
trivialBuild rec {
pname = "evil-markdown";
version = "2020-06-01";
version = "0.0.0+unstable=2021-07-21";
src = fetchFromGitHub {
owner = "Somelauw";
repo = "evil-markdown";
rev = "064fe9b4767470472356d20bdd08e2f30ebbc9ac";
sha256 = "sha256-Kt2wxG1XCFowavVWtj0urM/yURKegonpZcxTy/+CrJY=";
rev = "8e6cc68af83914b2fa9fd3a3b8472573dbcef477";
hash = "sha256-HBBuZ1VWIn6kwK5CtGIvHM1+9eiNiKPH0GUsyvpUVN8=";
};
buildInputs = [
emacs
] ++ runtimeDeps;
] ++ propagatedUserEnvPkgs;
propagatedUserEnvPkgs = runtimeDeps;
propagatedUserEnvPkgs = with emacsPackages; [
evil
markdown-mode
];
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";
meta = with lib; {
homepage = "https://github.com/Somelauw/evil-markdown";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ leungbk ];
platforms = emacs.meta.platforms;
description = "Integrates Emacs evil and markdown";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ leungbk ];
inherit (emacs.meta) platforms;
};
}

View file

@ -262,6 +262,8 @@
ebuild-mode = callPackage ./ebuild-mode { };
evil-markdown = callPackage ./evil-markdown { };
emacspeak = callPackage ./emacspeak { };
ess-R-object-popup = callPackage ./ess-R-object-popup { };