From 45bb0d11161b1c5077a1415eed6dbd0fd25ccb6a Mon Sep 17 00:00:00 2001 From: jdlugosz963 Date: Fri, 20 Sep 2024 14:16:56 +0200 Subject: Change dotfiles structure, and add guix-channels declaration. --- guix/jd/packages/linux.scm | 51 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 guix/jd/packages/linux.scm (limited to 'guix/jd/packages') diff --git a/guix/jd/packages/linux.scm b/guix/jd/packages/linux.scm new file mode 100644 index 0000000..94549c3 --- /dev/null +++ b/guix/jd/packages/linux.scm @@ -0,0 +1,51 @@ +(define-module (jd packages linux) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix build-system linux-module) + #:use-module (guix git-download) + #:use-module (guix gexp) + #:use-module (gnu packages linux) + #:use-module (gnu packages pciutils) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages autotools) + #:use-module ((guix licenses) #:prefix license:)) + +(define-public xmm7360-pci + (package + (name "xmm7360-pci") + (version "0.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/xmm7360/xmm7360-pci.git") + (commit "a8ff2c6ceee84cbe74df8a78cfaa5a016d362ed4"))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1aals95hk76rgd21rknqc9qfjva6g6gwicw6wz19m20bn08bs2f3")))) + (build-system linux-module-build-system) + (arguments + (list + #:tests? #f + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-makefile + (lambda _ + (substitute* (find-files + "." "^Makefile(\\.include)?$") + (("^ccflags-y := .*$") + "ccflags-y := -Wno-multichar -Wno-incompatible-pointer-types"))))))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("autoconf" ,autoconf) + ("automake" ,automake))) + (inputs + `(("kernel" ,linux-libre) + ("pciutils" ,pciutils))) + (synopsis "Kernel module for Intel XMM7360 LTE modem") + (description + "This package provides a kernel module for the Intel XMM7360 LTE modem, allowing it to function in Linux.") + (home-page "https://github.com/xmm7360/xmm7360-pci") + (license license:gpl3+))) + -- cgit v1.2.3