packages: text-editors: Update kak-tree-sitter
parent
424326cc04
commit
b712676cc9
|
@ -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,55 +121,57 @@
|
||||||
(license (list license:unlicense license:expat))))
|
(license (list license:unlicense license:expat))))
|
||||||
|
|
||||||
(define-public kak-tree-sitter
|
(define-public kak-tree-sitter
|
||||||
(package
|
(let ((commit "4a717751ffe599d1d46f70f8a9ad0bd978ef324a")
|
||||||
(name "kak-tree-sitter")
|
(revision "0"))
|
||||||
(version "1.1.2")
|
(package
|
||||||
(source
|
(name "kak-tree-sitter")
|
||||||
(origin
|
(version (git-version "1.1.2" revision commit))
|
||||||
(method git-fetch)
|
(source
|
||||||
(uri (git-reference
|
(origin
|
||||||
(url "https://git.sr.ht/~hadronized/kak-tree-sitter")
|
(method git-fetch)
|
||||||
(commit (string-append "kak-tree-sitter-v" version))))
|
(uri (git-reference
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(url "https://git.sr.ht/~hadronized/kak-tree-sitter")
|
||||||
(sha256
|
(commit commit)))
|
||||||
(base32 "081r0jdcbhh9vks0y83bgcvxsmp2r530z0prhdp6nb3w4i5ry5f0"))))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(build-system cargo-build-system)
|
(sha256
|
||||||
(arguments
|
(base32 "14qqlxg4qi59njayc6xmgw62s3mnrba9ndz05cprfyxdwvnnqf3q"))))
|
||||||
`(#:install-source? #f
|
(build-system cargo-build-system)
|
||||||
#:imported-modules (,@%cargo-build-system-modules
|
(arguments
|
||||||
(guix build cargo-build-system))
|
`(#:install-source? #f
|
||||||
#:modules ((guix build utils)
|
#:imported-modules (,@%cargo-build-system-modules
|
||||||
(guix build cargo-build-system)
|
(guix build cargo-build-system))
|
||||||
(ice-9 match))
|
#:modules ((guix build utils)
|
||||||
#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4)
|
(guix build cargo-build-system)
|
||||||
("rust-clap" ,rust-clap-4)
|
(ice-9 match))
|
||||||
("rust-colored" ,rust-colored-2)
|
#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4)
|
||||||
("rust-ctrlc" ,rust-ctrlc-3)
|
("rust-clap" ,rust-clap-4)
|
||||||
("rust-daemonize" ,rust-daemonize-0.5)
|
("rust-colored" ,rust-colored-2)
|
||||||
("rust-dirs" ,rust-dirs-5)
|
("rust-ctrlc" ,rust-ctrlc-3)
|
||||||
("rust-itertools" ,rust-itertools-0.12)
|
("rust-daemonize" ,rust-daemonize-0.5)
|
||||||
("rust-libc" ,rust-libc-0.2)
|
("rust-dirs" ,rust-dirs-5)
|
||||||
("rust-libloading" ,rust-libloading-0.8)
|
("rust-itertools" ,rust-itertools-0.12)
|
||||||
("rust-log" ,rust-log-0.4)
|
("rust-libc" ,rust-libc-0.2)
|
||||||
("rust-mio" ,rust-mio-0.8)
|
("rust-libloading" ,rust-libloading-0.8)
|
||||||
("rust-serde" ,rust-serde-1)
|
("rust-log" ,rust-log-0.4)
|
||||||
("rust-serde-json" ,rust-serde-json-1)
|
("rust-mio" ,rust-mio-0.8)
|
||||||
("rust-simple-logger" ,rust-simple-logger-5)
|
("rust-serde" ,rust-serde-1)
|
||||||
("rust-thiserror" ,rust-thiserror-1)
|
("rust-serde-json" ,rust-serde-json-1)
|
||||||
("rust-toml" ,rust-toml-0.8)
|
("rust-simple-logger" ,rust-simple-logger-5)
|
||||||
("rust-tree-sitter" ,rust-tree-sitter-0.20)
|
("rust-thiserror" ,rust-thiserror-1)
|
||||||
("rust-tree-sitter-highlight" ,rust-tree-sitter-highlight-0.20)
|
("rust-toml" ,rust-toml-0.8)
|
||||||
("rust-tree-sitter-rust" ,rust-tree-sitter-rust-0.20)
|
("rust-tree-sitter" ,rust-tree-sitter-0.20)
|
||||||
("rust-unicode-segmentation" ,rust-unicode-segmentation-1)
|
("rust-tree-sitter-highlight" ,rust-tree-sitter-highlight-0.20)
|
||||||
("rust-uuid" ,rust-uuid-1))
|
("rust-tree-sitter-rust" ,rust-tree-sitter-rust-0.20)
|
||||||
#:phases ,#~(modify-phases %standard-phases
|
("rust-unicode-segmentation" ,rust-unicode-segmentation-1)
|
||||||
(replace 'install
|
("rust-uuid" ,rust-uuid-1))
|
||||||
(lambda _
|
#:phases ,#~(modify-phases %standard-phases
|
||||||
(let* ((bin (string-append #$output "/bin")))
|
(replace 'install
|
||||||
(install-file "target/release/ktsctl" bin)
|
(lambda _
|
||||||
(install-file "target/release/kak-tree-sitter" bin)))))))
|
(let* ((bin (string-append #$output "/bin")))
|
||||||
(home-page "https://git.sr.ht/~hadronized/kak-tree-sitter/")
|
(install-file "target/release/ktsctl" bin)
|
||||||
(synopsis "Server between Kakoune and tree-sitter")
|
(install-file "target/release/kak-tree-sitter" bin)))))))
|
||||||
(description
|
(home-page "https://git.sr.ht/~hadronized/kak-tree-sitter/")
|
||||||
"This package provides Server between Kakoune and tree-sitter.")
|
(synopsis "Server between Kakoune and tree-sitter")
|
||||||
(license license:bsd-3)))
|
(description
|
||||||
|
"This package provides Server between Kakoune and tree-sitter.")
|
||||||
|
(license license:bsd-3))))
|
||||||
|
|
Loading…
Reference in New Issue