me
/
guix
Archived
1
0
Fork 0

gnu: editorconfig-vim: Update to 1.1.1.

* gnu/packages/vim.scm (editorconfig-vim): Update to 1.1.1.
[source]: Remove snippet.
[arguments]: Remove custom 'patch-editorconfig-path phase.
[inputs]: Remove editorconfig-core-c.
master
Efraim Flashner 2020-09-12 22:33:26 +03:00
parent fb24a4d5b8
commit 2c0b715389
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 3 additions and 17 deletions

View File

@ -570,7 +570,7 @@ are detected, the user is notified.")
(define-public editorconfig-vim (define-public editorconfig-vim
(package (package
(name "editorconfig-vim") (name "editorconfig-vim")
(version "0.3.3") (version "1.1.1")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -580,27 +580,13 @@ are detected, the user is notified.")
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0vssfl1wjq0mv0p30c3dszwrh4yy90vwxmmdgqaxf5rykik7bdfd")) "0mp80bi2m56bb93szw87vy6q5s85yk9g91sl4pr51316rgdv5kkv"))))
(modules '((guix build utils)))
(snippet
'(begin
(delete-file-recursively "plugin/editorconfig-core-py") #t))))
(build-system copy-build-system) (build-system copy-build-system)
(arguments (arguments
'(#:phases '(#:install-plan
(modify-phases %standard-phases
(add-after 'unpack 'patch-editorconfig-path
(lambda* (#:key inputs #:allow-other-keys)
(let ((editorconfig (assoc-ref inputs "editorconfig-core")))
(substitute* "plugin/editorconfig.vim"
(("/opt") editorconfig))
#t))))
#:install-plan
'(("autoload" "share/vim/vimfiles/") '(("autoload" "share/vim/vimfiles/")
("doc" "share/vim/vimfiles/") ("doc" "share/vim/vimfiles/")
("plugin" "share/vim/vimfiles/")))) ("plugin" "share/vim/vimfiles/"))))
(inputs
`(("editorconfig-core" ,editorconfig-core-c)))
(home-page "https://editorconfig.org/") (home-page "https://editorconfig.org/")
(synopsis "EditorConfig plugin for Vim") (synopsis "EditorConfig plugin for Vim")
(description "EditorConfig makes it easy to maintain the correct coding (description "EditorConfig makes it easy to maintain the correct coding