2021-09-10 04:15:22 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, emacs
|
|
|
|
}:
|
2020-04-30 20:43:55 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "isearch-prop";
|
2021-09-10 04:15:22 +01:00
|
|
|
version = "0.0.0+unstable=2019-05-01";
|
2020-04-30 20:43:55 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "emacsmirror";
|
|
|
|
repo = "isearch-prop";
|
|
|
|
rev = "4a2765f835dd115d472142da05215c4c748809f4";
|
2021-09-10 04:15:22 +01:00
|
|
|
hash = "sha256-A1Kt4nm7iRV9J5yaLupwiNL5g7ddZvQs79dggmqZ7Rk=";
|
2020-04-30 20:43:55 +01:00
|
|
|
};
|
|
|
|
|
2021-09-10 04:15:22 +01:00
|
|
|
buildInputs = [
|
|
|
|
emacs
|
|
|
|
];
|
2020-04-30 20:43:55 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
'';
|
|
|
|
|
2021-09-10 04:15:22 +01:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://www.emacswiki.org/emacs/IsearchPlus";
|
2020-04-30 20:43:55 +01:00
|
|
|
description = "Search text- or overlay-property contexts";
|
2021-09-10 04:15:22 +01:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ leungbk ];
|
2020-04-30 20:43:55 +01:00
|
|
|
platforms = emacs.meta.platforms;
|
|
|
|
};
|
|
|
|
}
|