diff options
Diffstat (limited to 'guix/jd/packages')
-rw-r--r-- | guix/jd/packages/linux.scm | 51 |
1 files changed, 51 insertions, 0 deletions
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 @@ | |||
1 | (define-module (jd packages linux) | ||
2 | #:use-module (guix packages) | ||
3 | #:use-module (guix download) | ||
4 | #:use-module (guix build-system linux-module) | ||
5 | #:use-module (guix git-download) | ||
6 | #:use-module (guix gexp) | ||
7 | #:use-module (gnu packages linux) | ||
8 | #:use-module (gnu packages pciutils) | ||
9 | #:use-module (gnu packages pkg-config) | ||
10 | #:use-module (gnu packages autotools) | ||
11 | #:use-module ((guix licenses) #:prefix license:)) | ||
12 | |||
13 | (define-public xmm7360-pci | ||
14 | (package | ||
15 | (name "xmm7360-pci") | ||
16 | (version "0.1.0") | ||
17 | (source | ||
18 | (origin | ||
19 | (method git-fetch) | ||
20 | (uri (git-reference | ||
21 | (url "https://github.com/xmm7360/xmm7360-pci.git") | ||
22 | (commit "a8ff2c6ceee84cbe74df8a78cfaa5a016d362ed4"))) | ||
23 | (file-name (git-file-name name version)) | ||
24 | (sha256 | ||
25 | (base32 | ||
26 | "1aals95hk76rgd21rknqc9qfjva6g6gwicw6wz19m20bn08bs2f3")))) | ||
27 | (build-system linux-module-build-system) | ||
28 | (arguments | ||
29 | (list | ||
30 | #:tests? #f | ||
31 | #:phases | ||
32 | #~(modify-phases %standard-phases | ||
33 | (add-after 'unpack 'patch-makefile | ||
34 | (lambda _ | ||
35 | (substitute* (find-files | ||
36 | "." "^Makefile(\\.include)?$") | ||
37 | (("^ccflags-y := .*$") | ||
38 | "ccflags-y := -Wno-multichar -Wno-incompatible-pointer-types"))))))) | ||
39 | (native-inputs | ||
40 | `(("pkg-config" ,pkg-config) | ||
41 | ("autoconf" ,autoconf) | ||
42 | ("automake" ,automake))) | ||
43 | (inputs | ||
44 | `(("kernel" ,linux-libre) | ||
45 | ("pciutils" ,pciutils))) | ||
46 | (synopsis "Kernel module for Intel XMM7360 LTE modem") | ||
47 | (description | ||
48 | "This package provides a kernel module for the Intel XMM7360 LTE modem, allowing it to function in Linux.") | ||
49 | (home-page "https://github.com/xmm7360/xmm7360-pci") | ||
50 | (license license:gpl3+))) | ||
51 | |||