packages: text-editors: Update kak-tree-sitter

main
Luis Guilherme Coelho 2024-10-06 20:25:44 -03:00
parent 424326cc04
commit b712676cc9
No known key found for this signature in database
GPG Key ID: 1F2E76ACE3F531C8
1 changed files with 55 additions and 52 deletions

View File

@ -8,6 +8,7 @@
#:use-module (guix gexp) #:use-module (guix gexp)
#:use-module (guix git-download) #:use-module (guix git-download)
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (guix utils)
#:use-module (radix packages crates-io) #:use-module (radix packages crates-io)
#:use-module ((guix licenses) #:prefix license:) #:use-module ((guix licenses) #:prefix license:)
@ -120,18 +121,20 @@
(license (list license:unlicense license:expat)))) (license (list license:unlicense license:expat))))
(define-public kak-tree-sitter (define-public kak-tree-sitter
(let ((commit "4a717751ffe599d1d46f70f8a9ad0bd978ef324a")
(revision "0"))
(package (package
(name "kak-tree-sitter") (name "kak-tree-sitter")
(version "1.1.2") (version (git-version "1.1.2" revision commit))
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://git.sr.ht/~hadronized/kak-tree-sitter") (url "https://git.sr.ht/~hadronized/kak-tree-sitter")
(commit (string-append "kak-tree-sitter-v" version)))) (commit commit)))
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 "081r0jdcbhh9vks0y83bgcvxsmp2r530z0prhdp6nb3w4i5ry5f0")))) (base32 "14qqlxg4qi59njayc6xmgw62s3mnrba9ndz05cprfyxdwvnnqf3q"))))
(build-system cargo-build-system) (build-system cargo-build-system)
(arguments (arguments
`(#:install-source? #f `(#:install-source? #f
@ -171,4 +174,4 @@
(synopsis "Server between Kakoune and tree-sitter") (synopsis "Server between Kakoune and tree-sitter")
(description (description
"This package provides Server between Kakoune and tree-sitter.") "This package provides Server between Kakoune and tree-sitter.")
(license license:bsd-3))) (license license:bsd-3))))