-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathimportmagic.scm
33 lines (31 loc) · 1.16 KB
/
importmagic.scm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2020 Ryan Prior <[email protected]>
(define-module (proposed importmagic)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages emacs-xyz)
#:use-module (guix build-system python)
#:use-module (guix build-system emacs)
#:use-module (guix download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages))
(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)))