From 4e6b7c3756b920132b4038dadd0cbe18589841c5 Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Fri, 10 Sep 2021 00:15:22 -0300 Subject: [PATCH] emacsPackages.isearch-prop: cosmetic rewriting --- .../elisp-packages/isearch-prop/default.nix | 22 ++++++++++++------- .../emacs/elisp-packages/manual-packages.nix | 2 ++ 2 files changed, 16 insertions(+), 8 deletions(-) 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 0db28255f70c..67a4c87b95d4 100644 --- a/pkgs/applications/editors/emacs/elisp-packages/isearch-prop/default.nix +++ b/pkgs/applications/editors/emacs/elisp-packages/isearch-prop/default.nix @@ -1,17 +1,23 @@ -{ stdenv, fetchFromGitHub, emacs, lib }: +{ lib +, stdenv +, fetchFromGitHub +, emacs +}: stdenv.mkDerivation { pname = "isearch-prop"; - version = "2019-05-01"; + version = "0.0.0+unstable=2019-05-01"; src = fetchFromGitHub { owner = "emacsmirror"; repo = "isearch-prop"; rev = "4a2765f835dd115d472142da05215c4c748809f4"; - sha256 = "sha256-A1Kt4nm7iRV9J5yaLupwiNL5g7ddZvQs79dggmqZ7Rk="; + hash = "sha256-A1Kt4nm7iRV9J5yaLupwiNL5g7ddZvQs79dggmqZ7Rk="; }; - buildInputs = [ emacs ]; + buildInputs = [ + emacs + ]; buildPhase = '' runHook preBuild @@ -26,11 +32,11 @@ stdenv.mkDerivation { runHook postInstall ''; - meta = { + meta = with lib; { + homepage = "https://www.emacswiki.org/emacs/IsearchPlus"; description = "Search text- or overlay-property contexts"; - homepage = "https://www.emacswiki.org/emacs/download/isearch-prop.el"; - license = lib.licenses.gpl3Plus; - maintainers = with lib.maintainers; [ leungbk ]; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ leungbk ]; platforms = emacs.meta.platforms; }; } diff --git a/pkgs/applications/editors/emacs/elisp-packages/manual-packages.nix b/pkgs/applications/editors/emacs/elisp-packages/manual-packages.nix index 352b84f7bf7c..d792793d3643 100644 --- a/pkgs/applications/editors/emacs/elisp-packages/manual-packages.nix +++ b/pkgs/applications/editors/emacs/elisp-packages/manual-packages.nix @@ -274,6 +274,8 @@ isearch-plus = callPackage ./isearch-plus { }; + isearch-prop = callPackage ./isearch-prop { }; + jam-mode = callPackage ./jam-mode { }; nano-theme = callPackage ./nano-theme { };