diff --git a/pkgs/applications/editors/emacs/elisp-packages/isearch-prop/default.nix b/pkgs/applications/editors/emacs/elisp-packages/isearch-prop/default.nix index 67a4c87b95d4..6b298cee4891 100644 --- a/pkgs/applications/editors/emacs/elisp-packages/isearch-prop/default.nix +++ b/pkgs/applications/editors/emacs/elisp-packages/isearch-prop/default.nix @@ -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; }; }