summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorPeter Polidoro <peter@polidoro.io>2026-03-20 14:56:20 -0400
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2026-03-29 21:13:14 +0200
commit2296d75f8df31ee117f014fa105fea77b4e09d23 (patch)
tree07d95c922dfe5416e0fc9340121f06805d0bfce7 /gnu
parent3c5ad0ebc0a7b0ef0a97e081be184cad56f91918 (diff)
gnu: Move kicad packages to electronics module.
* gnu/packages/engineering.scm (kicad, kicad-doc, kicad-footprints) (kicad-packages3d, kicad-symbols, kicad-templates): Move from here… * gnu/packages/electronics.scm: … to here. Change-Id: I9f06dc4eb44fe2b5597b23b184852f12e17af8e0 Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/electronics.scm254
-rw-r--r--gnu/packages/engineering.scm227
2 files changed, 247 insertions, 234 deletions
diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm
index 838135dc836..3698abb571d 100644
--- a/gnu/packages/electronics.scm
+++ b/gnu/packages/electronics.scm
@@ -1,18 +1,18 @@
1;;; GNU Guix --- Functional package management for GNU 1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2016, 2017, 2018 Theodoros Foradis <theodoros@foradis.org> 2;;; Copyright © 2016, 2017, 2018 Theodoros Foradis <theodoros@foradis.org>
3;;; Copyright © 20182021 Tobias Geerinckx-Rice <me@tobias.gr> 3;;; Copyright © 2018-2021, 2023 Tobias Geerinckx-Rice <me@tobias.gr>
4;;; Copyright © 2019 Clément Lassieur <clement@lassieur.org> 4;;; Copyright © 2019 Clément Lassieur <clement@lassieur.org>
5;;; Copyright © 2018-2019 Arun Isaac <arunisaac@systemreboot.net> 5;;; Copyright © 2018-2019 Arun Isaac <arunisaac@systemreboot.net>
6;;; Copyright © 2021, 2023, 2024 Efraim Flashner <efraim@flashner.co.il> 6;;; Copyright © 2017-2018, 2021, 2023-2024 Efraim Flashner <efraim@flashner.co.il>
7;;; Copyright © 2021 Leo Famulari <leo@famulari.name> 7;;; Copyright © 2021 Leo Famulari <leo@famulari.name>
8;;; Copyright © 2022, 2023, 2025 Maxim Cournoyer <maxim@guixotic.coop> 8;;; Copyright © 2021-2023, 2025 Maxim Cournoyer <maxim@guixotic.coop>
9;;; Copyright © 2024 Juliana Sims <juli@incana.org> 9;;; Copyright © 2024 Juliana Sims <juli@incana.org>
10;;; Copyright © 2025, 2026 Cayetano Santos <csantosb@inventati.org> 10;;; Copyright © 2025, 2026 Cayetano Santos <csantosb@inventati.org>
11;;; Copyright © 2025 Sharlatan Hellseher <sharlatanus@gmail.com> 11;;; Copyright © 2025-2026 Sharlatan Hellseher <sharlatanus@gmail.com>
12;;; Copyright © 2022 Konstantinos Agiannis <agiannis.kon@gmail.com> 12;;; Copyright © 2022 Konstantinos Agiannis <agiannis.kon@gmail.com>
13;;; Copyright © 2015-2025 Ricardo Wurmus <rekado@elephly.net> 13;;; Copyright © 2015-2025 Ricardo Wurmus <rekado@elephly.net>
14;;; Copyright © 2022, 2024, 2025 Artyom V. Poptsov <poptsov.artyom@gmail.com> 14;;; Copyright © 2022, 2024, 2025 Artyom V. Poptsov <poptsov.artyom@gmail.com>
15;;; Copyright © 2016 Danny Milosavljevic <dannym@scratchpost.org> 15;;; Copyright © 2016, 2018 Danny Milosavljevic <dannym@scratchpost.org>
16;;; Copyright © 2019 Amin Bandali <bandali@gnu.org> 16;;; Copyright © 2019 Amin Bandali <bandali@gnu.org>
17;;; Copyright © 2020-2025 Vinicius Monego <monego@posteo.net> 17;;; Copyright © 2020-2025 Vinicius Monego <monego@posteo.net>
18;;; Copyright © 2021 Andrew Miloradovsky <andrew@interpretmath.pw> 18;;; Copyright © 2021 Andrew Miloradovsky <andrew@interpretmath.pw>
@@ -24,12 +24,22 @@
24;;; Copyright © 2022, 2025 Evgeny Pisemsky <mail@pisemsky.site> 24;;; Copyright © 2022, 2025 Evgeny Pisemsky <mail@pisemsky.site>
25;;; Copyright © 2025, Ekaitz Zarraga <ekaitz@elenq.tech> 25;;; Copyright © 2025, Ekaitz Zarraga <ekaitz@elenq.tech>
26;;; Copyright © 2021, 2022 Guillaume Le Vaillant <glv@posteo.net> 26;;; Copyright © 2021, 2022 Guillaume Le Vaillant <glv@posteo.net>
27;;; Copyright © 2020, 2023 Marius Bakke <marius@gnu.org> 27;;; Copyright © 2018, 2020-2023 Marius Bakke <marius@gnu.org>
28;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com> 28;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
29;;; Copyright © 2025, 2026 Gabriel Wicki <gabriel@erlikon.ch> 29;;; Copyright © 2025, 2026 Gabriel Wicki <gabriel@erlikon.ch>
30;;; Copyright © 2026 Thomas Kramer <thomas@f-si.org> 30;;; Copyright © 2026 Thomas Kramer <thomas@f-si.org>
31;;; Copyright © 2023 pinoaffe <pinoaffe@gmail.com> 31;;; Copyright © 2023 pinoaffe <pinoaffe@gmail.com>
32;;; Copyright © 2018, 2021 Ludovic Courtès <ludo@gnu.org> 32;;; Copyright © 2018, 2020-2021 Ludovic Courtès <ludo@gnu.org>
33;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
34;;; Copyright © 2025 Greg Hogan <code@greghogan.com>
35;;; Copyright © 2018 Jonathan Brielmaier <jonathan.brielmaier@web.de>
36;;; Copyright © 2021 Julien Lepiller <julien@lepiller.eu>
37;;; Copyright © 2021 Mathieu Othacehe <othacehe@gnu.org>
38;;; Copyright © 2025 Nicolas Graves <ngraves@ngraves.fr>
39;;; Copyright © 2021-2026 Peter Polidoro <peter@polidoro.io>
40;;; Copyright © 2022 Petr Hodina <phodina@protonmail.com>
41;;; Copyright © 2025 Thomas Guillermo Albers Raviola <thomas@thomaslabs.org>
42;;; Copyright © 2019 Vagrant Cascadian <vagrant@debian.org>
33;;; 43;;;
34;;; This file is part of GNU Guix. 44;;; This file is part of GNU Guix.
35;;; 45;;;
@@ -76,6 +86,7 @@
76 #:use-module (gnu packages compression) 86 #:use-module (gnu packages compression)
77 #:use-module (gnu packages cpp) 87 #:use-module (gnu packages cpp)
78 #:use-module (gnu packages curl) 88 #:use-module (gnu packages curl)
89 #:use-module (gnu packages databases)
79 #:use-module (gnu packages documentation) 90 #:use-module (gnu packages documentation)
80 #:use-module (gnu packages elf) 91 #:use-module (gnu packages elf)
81 #:use-module (gnu packages embedded) 92 #:use-module (gnu packages embedded)
@@ -131,6 +142,7 @@
131 #:use-module (gnu packages readline) 142 #:use-module (gnu packages readline)
132 #:use-module (gnu packages regex) 143 #:use-module (gnu packages regex)
133 #:use-module (gnu packages ruby) 144 #:use-module (gnu packages ruby)
145 #:use-module (gnu packages ruby-xyz)
134 #:use-module (gnu packages sdl) 146 #:use-module (gnu packages sdl)
135 #:use-module (gnu packages serialization) 147 #:use-module (gnu packages serialization)
136 #:use-module (gnu packages shells) 148 #:use-module (gnu packages shells)
@@ -145,6 +157,7 @@
145 #:use-module (gnu packages toolkits) 157 #:use-module (gnu packages toolkits)
146 #:use-module (gnu packages version-control) 158 #:use-module (gnu packages version-control)
147 #:use-module (gnu packages web) 159 #:use-module (gnu packages web)
160 #:use-module (gnu packages wxwidgets)
148 #:use-module (gnu packages xdisorg) 161 #:use-module (gnu packages xdisorg)
149 #:use-module (gnu packages xml) 162 #:use-module (gnu packages xml)
150 #:use-module (gnu packages xorg)) 163 #:use-module (gnu packages xorg))
@@ -1053,6 +1066,233 @@ It simulates the netlists of the cells with ngspice and writes the
1053characterization result in a liberty library file.") 1066characterization result in a liberty library file.")
1054 (license license:agpl3+))) 1067 (license license:agpl3+)))
1055 1068
1069(define-public kicad
1070 (package
1071 (name "kicad")
1072 (version "9.0.8")
1073 (source (origin
1074 (method git-fetch)
1075 (uri (git-reference
1076 (url "https://gitlab.com/kicad/code/kicad.git")
1077 (commit version)))
1078 (sha256
1079 (base32
1080 "1b995p0qb9cjpj0n3x3szbqr6d7fxwmrp2nbx37y7ym2bc1lpxd8"))
1081 (file-name (git-file-name name version))))
1082 (build-system cmake-build-system)
1083 (arguments
1084 `(#:out-of-source? #t
1085 #:tests? #f ;no tests
1086 #:build-type "Release"
1087 #:configure-flags
1088 ,#~(list "-DKICAD_SCRIPTING_PYTHON3=ON"
1089 (string-append "-DOCC_INCLUDE_DIR="
1090 #$(this-package-input "opencascade-occt")
1091 "/include/opencascade")
1092 "-DKICAD_SCRIPTING_WXPYTHON_PHOENIX=ON"
1093 "-DKICAD_USE_EGL=OFF"
1094 "-DCMAKE_BUILD_WITH_INSTALL_RPATH=TRUE"
1095 "-DCMAKE_BUILD_TYPE=RelWithDebInfo")
1096 #:phases
1097 (modify-phases %standard-phases
1098 (add-after 'unpack 'fix-ngspice-detection
1099 (lambda* (#:key inputs #:allow-other-keys)
1100 (substitute* "eeschema/CMakeLists.txt"
1101 (("NGSPICE_DLL_FILE=\"\\$\\{NGSPICE_DLL_FILE\\}\"")
1102 (string-append "NGSPICE_DLL_FILE=\""
1103 (assoc-ref inputs "libngspice")
1104 "/lib/libngspice.so\"")))))
1105 (add-after 'install 'wrap-program
1106 ;; Ensure correct Python at runtime.
1107 (lambda* (#:key inputs outputs #:allow-other-keys)
1108 (let* ((out (assoc-ref outputs "out"))
1109 (python (assoc-ref inputs "python"))
1110 (file (string-append out "/bin/kicad"))
1111 (path (string-append out "/lib/python"
1112 ,(version-major+minor (package-version
1113 python))
1114 "/site-packages:"
1115 (getenv "GUIX_PYTHONPATH"))))
1116 (wrap-program file
1117 `("GUIX_PYTHONPATH" ":" prefix
1118 (,path))
1119 `("PATH" ":" prefix
1120 (,(string-append python "/bin:"))))))))))
1121 (native-search-paths
1122 ;; Currently, KiCad environment variables are single-valued
1123 ;; (see https://gitlab.com/kicad/code/kicad/-/issues/14792).
1124 (list (search-path-specification
1125 (variable "KICAD") ;to find kicad-doc
1126 (files '(""))
1127 (separator #f))
1128 (search-path-specification
1129 (variable "KICAD9_TEMPLATE_DIR")
1130 (files '("share/kicad/template"))
1131 (separator #f))
1132 (search-path-specification
1133 (variable "KICAD9_SYMBOL_DIR")
1134 (files '("share/kicad/symbols"))
1135 (separator #f))
1136 (search-path-specification
1137 (variable "KICAD9_FOOTPRINT_DIR")
1138 (files '("share/kicad/footprints"))
1139 (separator #f))
1140 (search-path-specification
1141 (variable "KICAD9_3DMODEL_DIR")
1142 (files '("share/kicad/3dmodels"))
1143 (separator #f))
1144 (search-path-specification
1145 (variable "KICAD_STOCK_DATA_HOME")
1146 (files '("share/kicad"))
1147 (separator #f))))
1148 (native-inputs (list boost
1149 desktop-file-utils
1150 gettext-minimal
1151 pkg-config
1152 swig-4.0
1153 unixodbc
1154 zlib))
1155 (inputs (list bash-minimal
1156 cairo
1157 curl
1158 glew
1159 glm
1160 hicolor-icon-theme
1161 libngspice
1162 libsm
1163 libgit2
1164 libsecret
1165 mesa
1166 opencascade-occt
1167 openssl
1168 python-wrapper
1169 gtk+
1170 wxwidgets-sans-egl
1171 nng
1172 python-wxpython
1173 protobuf
1174 gdk-pixbuf
1175 (list zstd "lib")))
1176 (home-page "https://www.kicad.org/")
1177 (synopsis "Electronics Design Automation Suite")
1178 (description
1179 "Kicad is a program for the formation of printed circuit
1180boards and electrical circuits. The software has a number of programs that
1181perform specific functions, for example, pcbnew (Editing PCB), eeschema (editing
1182electrical diagrams), gerbview (viewing Gerber files) and others.")
1183 (license license:gpl3+)))
1184
1185(define-public kicad-doc
1186 (package
1187 (name "kicad-doc")
1188 (version (package-version kicad))
1189 (source (origin
1190 (method git-fetch)
1191 (uri (git-reference
1192 (url "https://gitlab.com/kicad/services/kicad-doc.git")
1193 (commit version)))
1194 (file-name (git-file-name name version))
1195 (sha256
1196 (base32
1197 "07g80p1igp8j3kh3qpmqd150i9950w1143yhncwik2ypccwjdfjy"))))
1198 (build-system cmake-build-system)
1199 (arguments
1200 `(#:configure-flags (list "-DBUILD_FORMATS=html")
1201 #:tests? #f)) ;no test suite
1202 (native-inputs (list asciidoc
1203 gettext-minimal
1204 git-minimal
1205 perl
1206 perl-unicode-linebreak
1207 perl-yaml-tiny
1208 po4a
1209 ruby-asciidoctor/minimal
1210 source-highlight))
1211 (home-page "https://kicad.org")
1212 (synopsis "KiCad official documentation")
1213 (description "This repository contains the official KiCad documentation.")
1214 (license license:gpl3+)))
1215
1216(define-public kicad-symbols
1217 (package
1218 (name "kicad-symbols")
1219 (version (package-version kicad))
1220 (source (origin
1221 (method git-fetch)
1222 (uri (git-reference
1223 (url "https://gitlab.com/kicad/libraries/kicad-symbols.git")
1224 (commit version)))
1225 (file-name (git-file-name name version))
1226 (sha256
1227 (base32
1228 "08qb4rqxsyhrcvj1k200m2c06jjy7jwjmf9n1qkcm0biqqc5dba4"))))
1229 (build-system cmake-build-system)
1230 (arguments
1231 `(#:tests? #f)) ; no tests exist
1232 (home-page (package-home-page kicad))
1233 (synopsis "Official KiCad schematic symbol libraries")
1234 (description "This package contains the official KiCad schematic symbol
1235libraries.")
1236 ;; TODO: Exception: "To the extent that the creation of electronic designs
1237 ;; that use 'Licensed Material' can be considered to be 'Adapted Material',
1238 ;; then the copyright holder waives article 3 of the license with respect to
1239 ;; these designs and any generated files which use data provided as part of
1240 ;; the 'Licensed Material'."
1241 ;; See <https://github.com/KiCad/kicad-symbols/blob/master/LICENSE.md>.
1242 (license license:cc-by-sa4.0)))
1243
1244(define-public kicad-footprints
1245 (package
1246 (inherit kicad-symbols)
1247 (name "kicad-footprints")
1248 (version (package-version kicad))
1249 (source (origin
1250 (method git-fetch)
1251 (uri (git-reference
1252 (url "https://gitlab.com/kicad/libraries/kicad-footprints.git")
1253 (commit version)))
1254 (file-name (git-file-name name version))
1255 (sha256
1256 (base32
1257 "1w7dkb93s84ymi1syxpzacbmkxlnlh0k4z1c62nabspb901nn524"))))
1258 (synopsis "Official KiCad footprint libraries")
1259 (description "This package contains the official KiCad footprint libraries.")))
1260
1261(define-public kicad-packages3d
1262 (package
1263 (inherit kicad-symbols)
1264 (name "kicad-packages3d")
1265 (version (package-version kicad))
1266 (source (origin
1267 (method git-fetch)
1268 (uri (git-reference
1269 (url "https://gitlab.com/kicad/libraries/kicad-packages3D.git")
1270 (commit version)))
1271 (file-name (git-file-name name version))
1272 (sha256
1273 (base32
1274 "1j26dmgz7xfixlqrzclb1wpc6zkd10n1fq7rmdrgwwx083p3c7a8"))))
1275 (synopsis "Official KiCad 3D model libraries")
1276 (description "This package contains the official KiCad 3D model libraries.")))
1277
1278(define-public kicad-templates
1279 (package
1280 (inherit kicad-symbols)
1281 (name "kicad-templates")
1282 (version (package-version kicad))
1283 (source (origin
1284 (method git-fetch)
1285 (uri (git-reference
1286 (url "https://gitlab.com/kicad/libraries/kicad-templates.git")
1287 (commit version)))
1288 (file-name (git-file-name name version))
1289 (sha256
1290 (base32
1291 "0zs29zn8qjgxv0w1vyr8yxmj02m8752zagn4vcraqgik46dwg2id"))))
1292 (synopsis "Official KiCad project and worksheet templates")
1293 (description "This package contains the official KiCad project and
1294worksheet templates.")))
1295
1056(define-public lepton-eda 1296(define-public lepton-eda
1057 (package 1297 (package
1058 (name "lepton-eda") 1298 (name "lepton-eda")
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 2ecaec5601f..5808db4fe65 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -998,233 +998,6 @@ The viewer can be used interactively with a REPL (for example Geiser in
998Emacs).") 998Emacs).")
999 (license license:gpl3+)))) 999 (license license:gpl3+))))
1000 1000
1001(define-public kicad
1002 (package
1003 (name "kicad")
1004 (version "9.0.8")
1005 (source (origin
1006 (method git-fetch)
1007 (uri (git-reference
1008 (url "https://gitlab.com/kicad/code/kicad.git")
1009 (commit version)))
1010 (sha256
1011 (base32
1012 "1b995p0qb9cjpj0n3x3szbqr6d7fxwmrp2nbx37y7ym2bc1lpxd8"))
1013 (file-name (git-file-name name version))))
1014 (build-system cmake-build-system)
1015 (arguments
1016 `(#:out-of-source? #t
1017 #:tests? #f ;no tests
1018 #:build-type "Release"
1019 #:configure-flags
1020 ,#~(list "-DKICAD_SCRIPTING_PYTHON3=ON"
1021 (string-append "-DOCC_INCLUDE_DIR="
1022 #$(this-package-input "opencascade-occt")
1023 "/include/opencascade")
1024 "-DKICAD_SCRIPTING_WXPYTHON_PHOENIX=ON"
1025 "-DKICAD_USE_EGL=OFF"
1026 "-DCMAKE_BUILD_WITH_INSTALL_RPATH=TRUE"
1027 "-DCMAKE_BUILD_TYPE=RelWithDebInfo")
1028 #:phases
1029 (modify-phases %standard-phases
1030 (add-after 'unpack 'fix-ngspice-detection
1031 (lambda* (#:key inputs #:allow-other-keys)
1032 (substitute* "eeschema/CMakeLists.txt"
1033 (("NGSPICE_DLL_FILE=\"\\$\\{NGSPICE_DLL_FILE\\}\"")
1034 (string-append "NGSPICE_DLL_FILE=\""
1035 (assoc-ref inputs "libngspice")
1036 "/lib/libngspice.so\"")))))
1037 (add-after 'install 'wrap-program
1038 ;; Ensure correct Python at runtime.
1039 (lambda* (#:key inputs outputs #:allow-other-keys)
1040 (let* ((out (assoc-ref outputs "out"))
1041 (python (assoc-ref inputs "python"))
1042 (file (string-append out "/bin/kicad"))
1043 (path (string-append out "/lib/python"
1044 ,(version-major+minor (package-version
1045 python))
1046 "/site-packages:"
1047 (getenv "GUIX_PYTHONPATH"))))
1048 (wrap-program file
1049 `("GUIX_PYTHONPATH" ":" prefix
1050 (,path))
1051 `("PATH" ":" prefix
1052 (,(string-append python "/bin:"))))))))))
1053 (native-search-paths
1054 ;; Currently, KiCad environment variables are single-valued
1055 ;; (see https://gitlab.com/kicad/code/kicad/-/issues/14792).
1056 (list (search-path-specification
1057 (variable "KICAD") ;to find kicad-doc
1058 (files '(""))
1059 (separator #f))
1060 (search-path-specification
1061 (variable "KICAD9_TEMPLATE_DIR")
1062 (files '("share/kicad/template"))
1063 (separator #f))
1064 (search-path-specification
1065 (variable "KICAD9_SYMBOL_DIR")
1066 (files '("share/kicad/symbols"))
1067 (separator #f))
1068 (search-path-specification
1069 (variable "KICAD9_FOOTPRINT_DIR")
1070 (files '("share/kicad/footprints"))
1071 (separator #f))
1072 (search-path-specification
1073 (variable "KICAD9_3DMODEL_DIR")
1074 (files '("share/kicad/3dmodels"))
1075 (separator #f))
1076 (search-path-specification
1077 (variable "KICAD_STOCK_DATA_HOME")
1078 (files '("share/kicad"))
1079 (separator #f))))
1080 (native-inputs (list boost
1081 desktop-file-utils
1082 gettext-minimal
1083 pkg-config
1084 swig-4.0
1085 unixodbc
1086 zlib))
1087 (inputs (list bash-minimal
1088 cairo
1089 curl
1090 glew
1091 glm
1092 hicolor-icon-theme
1093 libngspice
1094 libsm
1095 libgit2
1096 libsecret
1097 mesa
1098 opencascade-occt
1099 openssl
1100 python-wrapper
1101 gtk+
1102 wxwidgets-sans-egl
1103 nng
1104 python-wxpython
1105 protobuf
1106 gdk-pixbuf
1107 (list zstd "lib")))
1108 (home-page "https://www.kicad.org/")
1109 (synopsis "Electronics Design Automation Suite")
1110 (description
1111 "Kicad is a program for the formation of printed circuit
1112boards and electrical circuits. The software has a number of programs that
1113perform specific functions, for example, pcbnew (Editing PCB), eeschema (editing
1114electrical diagrams), gerbview (viewing Gerber files) and others.")
1115 (license license:gpl3+)))
1116
1117(define-public kicad-doc
1118 (package
1119 (name "kicad-doc")
1120 (version (package-version kicad))
1121 (source (origin
1122 (method git-fetch)
1123 (uri (git-reference
1124 (url "https://gitlab.com/kicad/services/kicad-doc.git")
1125 (commit version)))
1126 (file-name (git-file-name name version))
1127 (sha256
1128 (base32
1129 "07g80p1igp8j3kh3qpmqd150i9950w1143yhncwik2ypccwjdfjy"))))
1130 (build-system cmake-build-system)
1131 (arguments
1132 `(#:configure-flags (list "-DBUILD_FORMATS=html")
1133 #:tests? #f)) ;no test suite
1134 (native-inputs (list asciidoc
1135 gettext-minimal
1136 git-minimal
1137 perl
1138 perl-unicode-linebreak
1139 perl-yaml-tiny
1140 po4a
1141 ruby-asciidoctor/minimal
1142 source-highlight))
1143 (home-page "https://kicad.org")
1144 (synopsis "KiCad official documentation")
1145 (description "This repository contains the official KiCad documentation.")
1146 (license license:gpl3+)))
1147
1148(define-public kicad-symbols
1149 (package
1150 (name "kicad-symbols")
1151 (version (package-version kicad))
1152 (source (origin
1153 (method git-fetch)
1154 (uri (git-reference
1155 (url "https://gitlab.com/kicad/libraries/kicad-symbols.git")
1156 (commit version)))
1157 (file-name (git-file-name name version))
1158 (sha256
1159 (base32
1160 "08qb4rqxsyhrcvj1k200m2c06jjy7jwjmf9n1qkcm0biqqc5dba4"))))
1161 (build-system cmake-build-system)
1162 (arguments
1163 `(#:tests? #f)) ; no tests exist
1164 (home-page (package-home-page kicad))
1165 (synopsis "Official KiCad schematic symbol libraries")
1166 (description "This package contains the official KiCad schematic symbol
1167libraries.")
1168 ;; TODO: Exception: "To the extent that the creation of electronic designs
1169 ;; that use 'Licensed Material' can be considered to be 'Adapted Material',
1170 ;; then the copyright holder waives article 3 of the license with respect to
1171 ;; these designs and any generated files which use data provided as part of
1172 ;; the 'Licensed Material'."
1173 ;; See <https://github.com/KiCad/kicad-symbols/blob/master/LICENSE.md>.
1174 (license license:cc-by-sa4.0)))
1175
1176(define-public kicad-footprints
1177 (package
1178 (inherit kicad-symbols)
1179 (name "kicad-footprints")
1180 (version (package-version kicad))
1181 (source (origin
1182 (method git-fetch)
1183 (uri (git-reference
1184 (url "https://gitlab.com/kicad/libraries/kicad-footprints.git")
1185 (commit version)))
1186 (file-name (git-file-name name version))
1187 (sha256
1188 (base32
1189 "1w7dkb93s84ymi1syxpzacbmkxlnlh0k4z1c62nabspb901nn524"))))
1190 (synopsis "Official KiCad footprint libraries")
1191 (description "This package contains the official KiCad footprint libraries.")))
1192
1193(define-public kicad-packages3d
1194 (package
1195 (inherit kicad-symbols)
1196 (name "kicad-packages3d")
1197 (version (package-version kicad))
1198 (source (origin
1199 (method git-fetch)
1200 (uri (git-reference
1201 (url "https://gitlab.com/kicad/libraries/kicad-packages3D.git")
1202 (commit version)))
1203 (file-name (git-file-name name version))
1204 (sha256
1205 (base32
1206 "1j26dmgz7xfixlqrzclb1wpc6zkd10n1fq7rmdrgwwx083p3c7a8"))))
1207 (synopsis "Official KiCad 3D model libraries")
1208 (description "This package contains the official KiCad 3D model libraries.")))
1209
1210(define-public kicad-templates
1211 (package
1212 (inherit kicad-symbols)
1213 (name "kicad-templates")
1214 (version (package-version kicad))
1215 (source (origin
1216 (method git-fetch)
1217 (uri (git-reference
1218 (url "https://gitlab.com/kicad/libraries/kicad-templates.git")
1219 (commit version)))
1220 (file-name (git-file-name name version))
1221 (sha256
1222 (base32
1223 "0zs29zn8qjgxv0w1vyr8yxmj02m8752zagn4vcraqgik46dwg2id"))))
1224 (synopsis "Official KiCad project and worksheet templates")
1225 (description "This package contains the official KiCad project and
1226worksheet templates.")))
1227
1228(define-public librseq 1001(define-public librseq
1229 ;; There's no release. 1002 ;; There's no release.
1230 (let ((commit "c3ed6b64bbe1944bd8de8b9fde14e7c290f02a90") 1003 (let ((commit "c3ed6b64bbe1944bd8de8b9fde14e7c290f02a90")