(define-module (ryan-packages linux) #:use-module (guix download) #:use-module (guix packages) #:use-module (guix gexp) #:use-module (guix build utils) #:use-module (gnu packages) #:use-module (gnu packages linux) #:use-module (gnu packages vim) #:use-module (gnu packages gcc) #:use-module (gnu packages textutils) #:use-module (gnu packages tree-sitter) #:use-module (gnu packages julia) #:use-module (gnu packages python-xyz) #:use-module (guix git-download) #:use-module (guix utils)) (define-public bluez-ryan (package (inherit bluez) (version "5.79") (source (origin (method url-fetch) (uri (string-append "mirror://kernel.org/linux/bluetooth/bluez-" version ".tar.xz")) (sha256 (base32 "12pal1m4xlr8k7kxb6isv5lbaca2wc5zcgy0907wfwcz78qaar21")))) (arguments (substitute-keyword-arguments (package-arguments bluez) ((#:configure-flags ''()) #~(append (list "--disable-manpages") #$flags)) ((#:phases phases) #~(modify-phases #$phases (add-after 'configure 'fix-make (lambda _ (substitute* "Makefile" (("install-confDATA:") "install-IGNORED:") (("install-confDATA") "") (("bluetoothd-fix-permissions:") "install-IGNORED2:") (("bluetoothd-fix-permissions") "")))))))))) (define-public neovim-ryan (package (inherit neovim) (version "0.11.1") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/neovim/neovim") (commit (string-append "v" version)))) (file-name (git-file-name "neovim" version)) (sha256 (base32 "0arypdiycmss5g9wav21hfdc384v1ly82jnsc32zincl2y3f628q")))) (native-inputs (modify-inputs (package-native-inputs neovim) (prepend gcc-14))) (inputs (modify-inputs (package-inputs neovim) (append utf8proc-2.10.0) (replace "tree-sitter" treesitter-ryan))))) (define-public treesitter-ryan (package (inherit tree-sitter) (version "0.25.4") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/tree-sitter/tree-sitter") (commit (string-append "v" version)))) (file-name (git-file-name "tree-sitter" version)) (sha256 (base32 "0d4ca0ikpmkqg9xlbx45c7mafr5yz0g99y3s3jy5xk86f0nkz8ga")) (modules '((guix build utils))) (snippet #~(begin (delete-file-recursively "lib/src/unicode"))))))) (define-public utf8proc-2.10.0 (package (inherit utf8proc-2.7.0) (version "2.10.0") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/JuliaStrings/utf8proc") (commit (string-append "v" version)))) (file-name (git-file-name "utf8proc" version)) (sha256 (base32 "1n1k67x39sk8xnza4w1xkbgbvgb1g7w2a7j2qrqzqaw1lyilqsy2")))) (native-inputs (modify-inputs (package-native-inputs utf8proc-2.7.0) (prepend julia))) (arguments (append (package-arguments utf8proc-2.7.0) (list #:tests? #f))))) neovim-ryan