diff mbox series

[bug#36091,v2,2/6] gnu: Add emacs-nadvice.

Message ID AoXAW4jY57UR3rA04fqEynjIpGjr3dMra2_55DMKrqG3E2Dd0qBz-Xgi5fRwh7Yp8x25OurmhS9KSEkIFDFdI0ojYxN-GEyquwphfWx3ROQ=@protonmail.com
State Accepted
Headers show
Series [bug#36091] gnu: Add emacs-excorporate | expand

Commit Message

phodina Nov. 4, 2021, 9:35 p.m. UTC
* gnu/packages/emacs-xyz.scm (emacs-nadvice): New variable.

--
2.33.1
diff mbox series

Patch

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index f4aa3259db..ff8fbc3130 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -25663,6 +25663,25 @@  (define-public emacs-ntlm
 encryption.")
     (license license:gpl3+)))

+(define-public emacs-nadvice
+  (package
+    (name "emacs-nadvice")
+    (version "0.3")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append "https://elpa.gnu.org/packages/nadvice-" version ".el"))
+        (sha256
+          (base32
+           "0gi3csnxbs8h7iy0scsl35sic3gv90swa89hhdjwb7qvpirfdcgw"))))
+    (build-system emacs-build-system)
+    (home-page "https://elpa.gnu.org/packages/nadvice.html")
+    (synopsis "Forward compatibility for Emacs-24.4's nadvice")
+    (description "This package tries to re-implement some of nadvice.el's
+functionality on top of the old defadvice system, to help users of defadvice
+move to the new advice system without dropping support for Emacs<24.4.")
+    (license license:gpl3+)))
+
 (define-public emacs-evil-traces
   (let ((commit "1931e3ea2c64b4aec393a9c25063c330deff55e3")
         (revision "2"))