gnu: emacs-graphviz-dot-mode: Update to 0.4.2.

* gnu/packages/emacs-xyz.scm (emacs-graphviz-dot-mode): Update to 0.4.2.
[native-inputs]: Add emacs-company.
[description]: Fix typo.
This commit is contained in:
John Soo 2020-04-01 15:40:57 +02:00 committed by Nicolas Goaziou
parent 0c5cb84116
commit a97b943b55
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -1951,53 +1951,51 @@ Maps directly inside Emacs.")
(license license:gpl3+))) (license license:gpl3+)))
(define-public emacs-graphviz-dot-mode (define-public emacs-graphviz-dot-mode
(let ((commit "1574c504d9810f34a85e2ff49b6f7648c2be5f27") (package
(revision "1")) (name "emacs-graphviz-dot-mode")
(package (version "0.4.2")
(name "emacs-graphviz-dot-mode") (source
(version (string-append "0.4.1-" revision "." (origin
(string-take commit 7))) (method git-fetch)
(source (origin (uri (git-reference
(method git-fetch) (url "https://github.com/ppareit/graphviz-dot-mode.git")
(uri (git-reference (commit (string-append "v" version))))
(url "https://github.com/ppareit/graphviz-dot-mode.git") (file-name (git-file-name name version))
(commit commit))) (sha256
(file-name (git-file-name name version)) (base32 "1v1p85wk73nfsvv66qf90flgf9dqhmv15z1r7q4zmc4ifklqn08m"))))
(sha256 (build-system emacs-build-system)
(base32 (arguments
"03l6zkkxhbcxj5i13hzjv6ypmzaw70zqqagh7ix1kdn33kpp37jj")))) `(#:phases
(build-system emacs-build-system) (modify-phases %standard-phases
(arguments (add-before 'install 'make-info
`(#:phases (lambda* (#:key inputs #:allow-other-keys)
(modify-phases %standard-phases (with-directory-excursion "texinfo"
(add-before 'install 'make-info (substitute* "Makefile"
(lambda* (#:key inputs #:allow-other-keys) (("\\/usr\\/bin\\/gzip")
(with-directory-excursion "texinfo" (string-append (assoc-ref inputs "gzip") "/bin/gzip")))
(substitute* "Makefile" (invoke "make"
(("\\/usr\\/bin\\/gzip") "clean"
(string-append (assoc-ref inputs "gzip") "/bin/gzip"))) "info"
(invoke "make" (string-append "TEXINFODIR="
"clean" (assoc-ref inputs "texinfo")
"info" "/bin")))))
(string-append "TEXINFODIR=" (add-after 'install 'install-info
(assoc-ref inputs "texinfo") (lambda* (#:key outputs #:allow-other-keys)
"/bin"))))) (let* ((out (assoc-ref outputs "out"))
(add-after 'install 'install-info (info (string-append out "/share/info")))
(lambda* (#:key outputs #:allow-other-keys) (install-file "texinfo/graphviz-dot-mode.info.gz" info)
(let* ((out (assoc-ref outputs "out")) #t))))))
(info (string-append out "/share/info"))) (native-inputs
(install-file "texinfo/graphviz-dot-mode.info.gz" info) `(("gzip" ,gzip)
#t)))))) ("texinfo" ,texinfo)))
(native-inputs (propagated-inputs
`(("texinfo" ,texinfo) `(("emacs-company" ,emacs-company)))
("gzip" ,gzip))) (home-page "http://ppareit.github.com/graphviz-dot-mode")
(home-page "http://ppareit.github.com/graphviz-dot-mode") (synopsis "Major mode for editing Graphviz DOT files")
(synopsis "Major mode for editing Graphviz Dot files") (description
(description "This Emacs package helps you to create @file{.dot} or @file{.gv} files
"This Emacs packages helps you to create @file{.dot} or @file{.gv} using the DOT syntax, and use Graphviz to convert these files to diagrams.")
files using the dot syntax, and use Graphviz to convert these files to (license license:gpl2+)))
diagrams.")
(license license:gpl2+))))
(define-public emacs-imenu-list (define-public emacs-imenu-list
(package (package