gnu: emacs-magit-svn: Update to 20190216.

* gnu/packages/emacs-xyz.scm (emacs-magit-svn): Update to 20190216.
master
Pierre Neidhardt 2019-03-15 16:53:55 +01:00
parent 3a7ca60adc
commit 65fc1932b3
No known key found for this signature in database
GPG Key ID: 9BDCF497A4BBCC7F
1 changed files with 56 additions and 67 deletions

View File

@ -328,78 +328,67 @@ operations.")
(deprecated-package "magit" emacs-magit)) (deprecated-package "magit" emacs-magit))
(define-public emacs-magit-svn (define-public emacs-magit-svn
(package (let ((commit "9e33ceee32f665db59909e1c00a667ccdd04178f"))
(name "emacs-magit-svn") (package
(version "2.2.1") (name "emacs-magit-svn")
(source (origin (version (git-version "2.2.1" "1" commit))
(method git-fetch) (source (origin
(uri (git-reference (method git-fetch)
(url "https://github.com/magit/magit-svn") (uri (git-reference
(commit version))) (url "https://github.com/magit/magit-svn")
(file-name (git-file-name name version)) (commit commit)))
(sha256 (file-name (git-file-name name version))
(base32 (sha256
"01kcsc53q3mbhgjssjpby7ypnhqsr48rkl1xz3ahaypmlp929gl9")))) (base32
(build-system trivial-build-system) "1mlqz8dh6jy5rv72lgkxv253dgh73fmbaidskicypapvbl3lr6xy"))))
(native-inputs `(("emacs" ,emacs-minimal))) (build-system trivial-build-system)
(propagated-inputs `(("dash" ,emacs-dash) (native-inputs `(("emacs" ,emacs-minimal)))
("ghub" ,emacs-ghub) (propagated-inputs `(("dash" ,emacs-dash)
("graphql" ,emacs-graphql) ("with-editor" ,emacs-with-editor)
("treepy" ,emacs-treepy) ("magit" ,emacs-magit)
("with-editor" ,emacs-with-editor) ("transient" ,emacs-transient)))
("magit" ,emacs-magit) (arguments
("magit-popup" ,emacs-magit-popup))) `(#:modules ((guix build utils)
(arguments (guix build emacs-utils))
`(#:modules ((guix build utils)
(guix build emacs-utils))
#:builder #:builder
(begin (begin
(use-modules (guix build utils) (use-modules (guix build utils)
(guix build emacs-utils)) (guix build emacs-utils))
(let ((emacs (string-append (assoc-ref %build-inputs "emacs") (let ((emacs (string-append (assoc-ref %build-inputs "emacs")
"/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") (transient (string-append (assoc-ref %build-inputs "transient")
"/share/emacs/site-lisp/guix.d/magit-popup-" "/share/emacs/site-lisp/guix.d/transient-"
,(package-version emacs-magit-popup))) ,(package-version emacs-transient)))
(ghub (string-append (assoc-ref %build-inputs "ghub") (dash (string-append (assoc-ref %build-inputs "dash")
"/share/emacs/site-lisp/guix.d/ghub-" "/share/emacs/site-lisp/guix.d/dash-"
,(package-version emacs-ghub))) ,(package-version emacs-dash)))
(graphql (string-append (assoc-ref %build-inputs "graphql") (with-editor (string-append (assoc-ref %build-inputs "with-editor")
"/share/emacs/site-lisp/guix.d/graphql-" "/share/emacs/site-lisp/guix.d/with-editor-"
,(package-version emacs-graphql))) ,(package-version emacs-with-editor)))
(treepy (string-append (assoc-ref %build-inputs "treepy") (source (assoc-ref %build-inputs "source"))
"/share/emacs/site-lisp/guix.d/treepy-" (lisp-dir (string-append %output "/share/emacs/site-lisp")))
,(package-version emacs-treepy)))
(dash (string-append (assoc-ref %build-inputs "dash")
"/share/emacs/site-lisp/guix.d/dash-"
,(package-version emacs-dash)))
(with-editor (string-append (assoc-ref %build-inputs "with-editor")
"/share/emacs/site-lisp/guix.d/with-editor-"
,(package-version emacs-with-editor)))
(source (assoc-ref %build-inputs "source"))
(lisp-dir (string-append %output "/share/emacs/site-lisp")))
(install-file (string-append source "/magit-svn.el") (install-file (string-append source "/magit-svn.el")
lisp-dir) lisp-dir)
(with-directory-excursion lisp-dir (with-directory-excursion lisp-dir
(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 ":" magit-popup ":" ghub ":" (string-append ":" magit ":" transient
":" graphql ":" treepy ":" dash ":" with-editor)) ":" 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")
(synopsis "Git-SVN extension to Magit") (synopsis "Git-SVN extension to Magit")
(description (description
"This package is an extension to Magit, the Git Emacs mode, providing "This package is an extension to Magit, the Git Emacs mode, providing
support for Git-SVN.") support for Git-SVN.")
(license license:gpl3+))) (license license:gpl3+))))
(define-public magit-svn (define-public magit-svn
(deprecated-package "magit-svn" emacs-magit-svn)) (deprecated-package "magit-svn" emacs-magit-svn))