3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: emacs-sudo-edit: Update to 0.1.1.

* gnu/packages/emacs-xyz.scm (emacs-sudo-edit): Update to 0.1.1.
This commit is contained in:
Nicolas Goaziou 2021-02-08 08:17:33 +01:00
parent 5424ca6d6e
commit 9cef3255e3
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -5028,42 +5028,38 @@ Gnus, e.g., for applying patches received by email.")
(license license:gpl2+))))
(define-public emacs-sudo-edit
;; No proper release nor tag.
(let ((commit "0e2c32b5e5242d30f8780cbe8e1b1649476cac4d")
(revision "0"))
(package
(name "emacs-sudo-edit")
(version (git-version "0.1.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/nflath/sudo-edit")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"1z26i4hzi2mksl4nr8szzlnrnyv96fg7jjddbm5dp5dlmh2pndk1"))))
(build-system emacs-build-system)
(native-inputs
`(("emacs-undercover" ,emacs-undercover)))
(arguments
`(#:emacs ,emacs
#:phases
(modify-phases %standard-phases
(add-before 'check 'fix-makefile
(lambda _
(substitute* "Makefile"
(("\\$\\(CASK\\) exec ") ""))
#t)))
#:tests? #t
#:test-command '("make" "test")))
(home-page "https://github.com/nflath/sudo-edit/")
(synopsis "Open files as another user")
(description
"This package allows editing files as another user, including the root
(package
(name "emacs-sudo-edit")
(version "0.1.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/nflath/sudo-edit")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1hncxbg5lvywzkwvdmzvrz71midy4samjq2vvxxhz90z1y5l8l29"))))
(build-system emacs-build-system)
(native-inputs
`(("emacs-undercover" ,emacs-undercover)))
(arguments
`(#:emacs ,emacs
#:phases
(modify-phases %standard-phases
(add-before 'check 'fix-makefile
(lambda _
(substitute* "Makefile"
(("\\$\\(CASK\\) exec ") ""))
#t)))
#:tests? #t
#:test-command '("make" "test")))
(home-page "https://github.com/nflath/sudo-edit/")
(synopsis "Open files as another user")
(description
"This package allows editing files as another user, including the root
user.")
(license license:gpl3+))))
(license license:gpl3+)))
(define-public emacs-miniedit
(package