emacsPackages.isearch-prop: use trivialBuild
This commit is contained in:
parent
678858ee83
commit
fa9c5db3ed
1 changed files with 3 additions and 20 deletions
|
@ -1,10 +1,10 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, trivialBuild
|
||||
, emacs
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
trivialBuild {
|
||||
pname = "isearch-prop";
|
||||
version = "0.0.0+unstable=2019-05-01";
|
||||
|
||||
|
@ -15,28 +15,11 @@ stdenv.mkDerivation {
|
|||
hash = "sha256-A1Kt4nm7iRV9J5yaLupwiNL5g7ddZvQs79dggmqZ7Rk=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
emacs
|
||||
];
|
||||
|
||||
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 = with lib; {
|
||||
homepage = "https://www.emacswiki.org/emacs/IsearchPlus";
|
||||
description = "Search text- or overlay-property contexts";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ leungbk ];
|
||||
platforms = emacs.meta.platforms;
|
||||
inherit (emacs.meta) platforms;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue