From 7f0dffaa787b4efc513dc11830ee14465ce7dafb Mon Sep 17 00:00:00 2001 From: Gabriel Wicki Date: Sun, 8 Mar 2026 00:39:39 +0100 Subject: [PATCH] gnu: Add snd-rane-sl3. * gnu/packages/linux.scm (snd-rane-sl3): New variable. Change-Id: I560d0096c3a6e73e41cd4c682376632f287189a9 Signed-off-by: Gabriel Wicki --- gnu/packages/linux.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 61be15b447c..0e92754baa3 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -4366,6 +4366,42 @@ external rate conversion.") ;; `rate/rate_samplerate.c': LGPL v2.1 or later. license:lgpl2.1+)))) +(define-public snd-rane-sl3 + (let ((commit "01099892261b55ec5ee814292d840eeb664c1904") + (revision "0")) + (package + (name "snd-rane-sl3") + (version (git-version "0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/nvgeele/snd-rane-sl3") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1j2aan5xmbi8hgkzzwjb7rarqh4g65rg3s1qd1c8x5m6fpqdnvli")))) + (build-system linux-module-build-system) + (arguments + (list + #:tests? #f ;No tests. + #:phases + #~(modify-phases %standard-phases + (delete 'configure) + (add-before 'build 'change-directory + (lambda _ + (chdir "snd-rane-sl3")))))) + (inputs (list linux-libre-headers)) + (home-page "https://github.com/nvgeele/snd-rane-sl3") + (synopsis + "Linux ALSA kernel driver for the Rane SL3 USB Audio interface") + (description + "snd-rane-sl3 provides a native Linux kernel module that +enables the Rane SL3 to work as a standard ALSA audio device, supporting 6 +channels (3 stereo pairs) of 24-bit PCM audio at 44.1kHz and 48kHz sample +rates.") + (license license:gpl3)))) + (define-public iptables (package (name "iptables")