From 79c982f7f996d39969bd3c8f54a9d4391a320381 Mon Sep 17 00:00:00 2001 From: Ryan Prior Date: Sun, 17 May 2020 12:56:00 -0500 Subject: gnu: Add emacs-importmagic. * gnu/packages/emacs-xyz.py (emacs-importmagic): New variable. --- gnu/packages/emacs-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index fe68a56fd6..94f5fdbb4e 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -71,6 +71,7 @@ ;;; Copyright © 2020 Marius Bakke ;;; Copyright © 2020 pinoaffe ;;; Copyright © 2020 Vinicius Monego +;;; Copyright © 2020 Ryan Prior ;;; ;;; This file is part of GNU Guix. ;;; @@ -16672,6 +16673,28 @@ provided by other Emacs packages dealing with pass: image, rotate it, save modified images, and more.") (license license:gpl3+)))) +(define-public emacs-importmagic + (package + (name "emacs-importmagic") + (version "20180520.303") + (source + (origin + (method url-fetch) + (uri + (string-append "https://melpa.org/packages/importmagic-" version ".tar")) + (sha256 + (base32 "0xk4i4x4836ksv2pr3aarpbkq6b5sz8c3y6f39fwf698v8zirhs9")))) + (build-system emacs-build-system) + (propagated-inputs + `(("emacs-epc" ,emacs-epc) + ("emacs-f" ,emacs-f) + ("python-epc" ,python-epc) + ("python-importmagic" ,python-importmagic))) + (home-page "https://github.com/anachronic/importmagic.el") + (synopsis "Fix Python imports") + (description "Importmagic.el fixes unresolved imports in Python buffers.") + (license license:gpl3))) + (define-public emacs-package-lint (let ((commit "69bb89d00ba212b734c676ad056aa793c450b288")) (package -- cgit v1.2.3