gnu: emacs-magit-svn: Add missing inputs.

* gnu/packages/emacs-xyz.scm (emacs-magit-svn)[propagated-inputs]: Add
emacs-ghub, emacs-magit-popup.
[arguments]: Adjust accordingly.
This commit is contained in:
Efraim Flashner 2019-01-23 10:02:11 +02:00
parent daa82371b8
commit ff1d5478a1
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 11 additions and 2 deletions

View File

@ -334,8 +334,10 @@ operations.")
(build-system trivial-build-system) (build-system trivial-build-system)
(native-inputs `(("emacs" ,emacs-minimal))) (native-inputs `(("emacs" ,emacs-minimal)))
(propagated-inputs `(("dash" ,emacs-dash) (propagated-inputs `(("dash" ,emacs-dash)
("ghub" ,emacs-ghub)
("with-editor" ,emacs-with-editor) ("with-editor" ,emacs-with-editor)
("magit" ,emacs-magit))) ("magit" ,emacs-magit)
("magit-popup" ,emacs-magit-popup)))
(arguments (arguments
`(#:modules ((guix build utils) `(#:modules ((guix build utils)
(guix build emacs-utils)) (guix build emacs-utils))
@ -349,6 +351,12 @@ operations.")
"/bin/emacs")) "/bin/emacs"))
(magit (string-append (assoc-ref %build-inputs "magit") (magit (string-append (assoc-ref %build-inputs "magit")
"/share/emacs/site-lisp")) "/share/emacs/site-lisp"))
(magit-popup (string-append (assoc-ref %build-inputs "magit-popup")
"/share/emacs/site-lisp/guix.d/magit-popup-"
,(package-version emacs-magit-popup)))
(ghub (string-append (assoc-ref %build-inputs "ghub")
"/share/emacs/site-lisp/guix.d/ghub-"
,(package-version emacs-ghub)))
(dash (string-append (assoc-ref %build-inputs "dash") (dash (string-append (assoc-ref %build-inputs "dash")
"/share/emacs/site-lisp/guix.d/dash-" "/share/emacs/site-lisp/guix.d/dash-"
,(package-version emacs-dash))) ,(package-version emacs-dash)))
@ -365,7 +373,8 @@ operations.")
(parameterize ((%emacs emacs)) (parameterize ((%emacs emacs))
(emacs-generate-autoloads ,name lisp-dir) (emacs-generate-autoloads ,name lisp-dir)
(setenv "EMACSLOADPATH" (setenv "EMACSLOADPATH"
(string-append ":" magit ":" dash ":" with-editor)) (string-append ":" magit ":" magit-popup ":" ghub ":"
dash ":" with-editor))
(emacs-batch-eval '(byte-compile-file "magit-svn.el")))) (emacs-batch-eval '(byte-compile-file "magit-svn.el"))))
#t)))) #t))))
(home-page "https://github.com/magit/magit-svn") (home-page "https://github.com/magit/magit-svn")