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