From 1c9f2a0404d0705b47d6fb5f2d78d347ab635da9 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Wed, 24 Jul 2024 11:59:57 -0300 Subject: [PATCH 1/3] emacsPackages.idris2-mode: updateScript --- .../elisp-packages/manual-packages/idris2-mode/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/editors/emacs/elisp-packages/manual-packages/idris2-mode/package.nix b/pkgs/applications/editors/emacs/elisp-packages/manual-packages/idris2-mode/package.nix index 5148daad1903b..784f55c4c53df 100644 --- a/pkgs/applications/editors/emacs/elisp-packages/manual-packages/idris2-mode/package.nix +++ b/pkgs/applications/editors/emacs/elisp-packages/manual-packages/idris2-mode/package.nix @@ -3,6 +3,7 @@ fetchFromGitHub, melpaBuild, prop-menu, + gitUpdater, }: melpaBuild rec { @@ -20,6 +21,8 @@ melpaBuild rec { prop-menu ]; + passthru.updateScript = gitUpdater { }; + meta = { homepage = "https://github.com/idris-community/idris2-mode"; description = "Emacs mode for editing Idris 2 code"; From 2014517409c5b1d71eaf819a74c1d4e20b045e89 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 28 Jul 2024 14:13:02 -0300 Subject: [PATCH 2/3] emacsPackages.idris2-mode: get rid of rec --- .../elisp-packages/manual-packages/idris2-mode/package.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/editors/emacs/elisp-packages/manual-packages/idris2-mode/package.nix b/pkgs/applications/editors/emacs/elisp-packages/manual-packages/idris2-mode/package.nix index 784f55c4c53df..3901b4afcc172 100644 --- a/pkgs/applications/editors/emacs/elisp-packages/manual-packages/idris2-mode/package.nix +++ b/pkgs/applications/editors/emacs/elisp-packages/manual-packages/idris2-mode/package.nix @@ -6,9 +6,12 @@ gitUpdater, }: -melpaBuild rec { - pname = "idris2-mode"; +let version = "1.1"; +in +melpaBuild { + pname = "idris2-mode"; + inherit version; src = fetchFromGitHub { owner = "idris-community"; From 66d049701d9d9e3057ff03274f3dd8a6318f4bd9 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Fri, 26 Jul 2024 16:02:59 -0300 Subject: [PATCH 3/3] emacsPackages.idris2-mode: add AndersonTorres as maintainer wuyoli's latest commit is at least one year old. --- .../elisp-packages/manual-packages/idris2-mode/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/editors/emacs/elisp-packages/manual-packages/idris2-mode/package.nix b/pkgs/applications/editors/emacs/elisp-packages/manual-packages/idris2-mode/package.nix index 3901b4afcc172..2a7b7b571d12e 100644 --- a/pkgs/applications/editors/emacs/elisp-packages/manual-packages/idris2-mode/package.nix +++ b/pkgs/applications/editors/emacs/elisp-packages/manual-packages/idris2-mode/package.nix @@ -30,6 +30,6 @@ melpaBuild { homepage = "https://github.com/idris-community/idris2-mode"; description = "Emacs mode for editing Idris 2 code"; license = lib.licenses.gpl3Only; - maintainers = with lib.maintainers; [ wuyoli ]; + maintainers = with lib.maintainers; [ wuyoli AndersonTorres ]; }; }