modules/ryan-packages/linux.scm

f2efb2542f7cd37d106e283701912d55c061bb1d · 3.5 KB · 92 lines raw

1 (define-module (ryan-packages linux)
2 #:use-module (guix download)
3 #:use-module (guix packages)
4 #:use-module (guix gexp)
5 #:use-module (guix build utils)
6 #:use-module (gnu packages)
7 #:use-module (gnu packages linux)
8 #:use-module (gnu packages vim)
9 #:use-module (gnu packages gcc)
10 #:use-module (gnu packages textutils)
11 #:use-module (gnu packages tree-sitter)
12 #:use-module (gnu packages julia)
13 #:use-module (gnu packages python-xyz)
14 #:use-module (guix git-download)
15 #:use-module (guix utils))
16
17 (define-public bluez-ryan
18 (package
19 (inherit bluez)
20 (version "5.79")
21 (source
22 (origin
23 (method url-fetch)
24 (uri (string-append
25 "mirror://kernel.org/linux/bluetooth/bluez-"
26 version ".tar.xz"))
27 (sha256
28 (base32
29 "12pal1m4xlr8k7kxb6isv5lbaca2wc5zcgy0907wfwcz78qaar21"))))
30 (arguments (substitute-keyword-arguments (package-arguments bluez)
31 ((#:configure-flags ''())
32 #~(append (list "--disable-manpages") #$flags))
33 ((#:phases phases)
34 #~(modify-phases #$phases
35 (add-after 'configure 'fix-make
36 (lambda _
37 (substitute* "Makefile"
38 (("install-confDATA:") "install-IGNORED:")
39 (("install-confDATA") "")
40 (("bluetoothd-fix-permissions:") "install-IGNORED2:")
41 (("bluetoothd-fix-permissions") ""))))))))))
42
43 (define-public neovim-ryan
44 (package
45 (inherit neovim)
46 (version "0.11.1")
47 (source (origin
48 (method git-fetch)
49 (uri (git-reference
50 (url "https://github.com/neovim/neovim")
51 (commit (string-append "v" version))))
52 (file-name (git-file-name "neovim" version))
53 (sha256
54 (base32
55 "0arypdiycmss5g9wav21hfdc384v1ly82jnsc32zincl2y3f628q"))))
56 (native-inputs (modify-inputs (package-native-inputs neovim) (prepend gcc-14)))
57 (inputs (modify-inputs (package-inputs neovim) (append utf8proc-2.10.0) (replace "tree-sitter" treesitter-ryan)))))
58
59 (define-public treesitter-ryan
60 (package
61 (inherit tree-sitter)
62 (version "0.25.4")
63 (source (origin
64 (method git-fetch)
65 (uri (git-reference
66 (url "https://github.com/tree-sitter/tree-sitter")
67 (commit (string-append "v" version))))
68 (file-name (git-file-name "tree-sitter" version))
69 (sha256
70 (base32
71 "0d4ca0ikpmkqg9xlbx45c7mafr5yz0g99y3s3jy5xk86f0nkz8ga"))
72 (modules '((guix build utils)))
73 (snippet #~(begin
74 (delete-file-recursively "lib/src/unicode")))))))
75
76 (define-public utf8proc-2.10.0
77 (package
78 (inherit utf8proc-2.7.0)
79 (version "2.10.0")
80 (source (origin
81 (method git-fetch)
82 (uri (git-reference
83 (url "https://github.com/JuliaStrings/utf8proc")
84 (commit (string-append "v" version))))
85 (file-name (git-file-name "utf8proc" version))
86 (sha256
87 (base32
88 "1n1k67x39sk8xnza4w1xkbgbvgb1g7w2a7j2qrqzqaw1lyilqsy2"))))
89 (native-inputs (modify-inputs (package-native-inputs utf8proc-2.7.0) (prepend julia)))
90 (arguments (append (package-arguments utf8proc-2.7.0) (list #:tests? #f)))))
91
92 neovim-ryan