-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanifest.scm
61 lines (55 loc) · 2.21 KB
/
manifest.scm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
(use-modules (guix licenses)
(guix packages)
(guix download)
(guix transformations)
(guix git-download)
(guix build-system python)
(guix build-system pyproject))
;; A list of modules which we want to reference in this manifest
(use-package-modules avr
base
bash
certs
check
gawk
compression
version-control
wget
libusb
flashing-tools ; dfu-programmer
commencement ; gcc-toolchain
)
;; Allow specifying a list of packages not to test when building a package
(define (no-tests donttest package)
((options->transformation
(map (lambda (p) `(without-tests . ,p)) donttest))
(specification->package package)))
;; With the above, create the manifest which is needed in the guix shell
;; See build shell script
(packages->manifest (list nss-certs
coreutils
bash
findutils
grep
sed
gawk
unzip
zip
git
wget
libusb
python-pyusb
dfu-programmer
dfu-util
;; For the atreus, dont need the arm toolchain and there is a bug that only the last one goes
;; See: https://issues.guix.org/
(make-avr-toolchain)
glibc
gcc-toolchain
;; Skip tests on some packages, seems harmless in the firmware context so far
(no-tests '("python-requests-toolbelt"
"python-werkzeug")
"qmk")
gnu-make
diffutils))