summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CODEOWNERS1
-rwxr-xr-xetc/teams.scm1
-rw-r--r--gnu/local.mk1
-rw-r--r--gnu/packages/rocq.scm47
4 files changed, 50 insertions, 0 deletions
diff --git a/CODEOWNERS b/CODEOWNERS
index 1b7dc17d1f5..7a09b875ff5 100644
--- a/CODEOWNERS
+++ b/CODEOWNERS
@@ -318,6 +318,7 @@ gnu/packages/tor-browsers\.scm @guix/mozilla
318 318
319gnu/packages/ocaml\.scm @guix/ocaml 319gnu/packages/ocaml\.scm @guix/ocaml
320gnu/packages/coq\.scm @guix/ocaml 320gnu/packages/coq\.scm @guix/ocaml
321gnu/packages/rocq\.scm @guix/ocaml
321guix/build/ocaml-build-system\.scm @guix/ocaml 322guix/build/ocaml-build-system\.scm @guix/ocaml
322guix/build/dune-build-system\.scm @guix/ocaml 323guix/build/dune-build-system\.scm @guix/ocaml
323guix/build-system/ocaml\.scm @guix/ocaml 324guix/build-system/ocaml\.scm @guix/ocaml
diff --git a/etc/teams.scm b/etc/teams.scm
index 1e179f445df..a1c37631fec 100755
--- a/etc/teams.scm
+++ b/etc/teams.scm
@@ -943,6 +943,7 @@ importer, and the ocaml-build-system."
943 #:scope 943 #:scope
944 (list "gnu/packages/ocaml.scm" 944 (list "gnu/packages/ocaml.scm"
945 "gnu/packages/coq.scm" 945 "gnu/packages/coq.scm"
946 "gnu/packages/rocq.scm"
946 "guix/build/ocaml-build-system.scm" 947 "guix/build/ocaml-build-system.scm"
947 "guix/build/dune-build-system.scm" 948 "guix/build/dune-build-system.scm"
948 "guix/build-system/ocaml.scm" 949 "guix/build-system/ocaml.scm"
diff --git a/gnu/local.mk b/gnu/local.mk
index a2557948d88..a3f0144a53a 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -610,6 +610,7 @@ GNU_SYSTEM_MODULES = \
610 %D%/packages/rocm-apps.scm \ 610 %D%/packages/rocm-apps.scm \
611 %D%/packages/rocm-libs.scm \ 611 %D%/packages/rocm-libs.scm \
612 %D%/packages/rocm-tools.scm \ 612 %D%/packages/rocm-tools.scm \
613 %D%/packages/rocq.scm \
613 %D%/packages/rpc.scm \ 614 %D%/packages/rpc.scm \
614 %D%/packages/rpm.scm \ 615 %D%/packages/rpm.scm \
615 %D%/packages/rrdtool.scm \ 616 %D%/packages/rrdtool.scm \
diff --git a/gnu/packages/rocq.scm b/gnu/packages/rocq.scm
new file mode 100644
index 00000000000..7ec4d21e55d
--- /dev/null
+++ b/gnu/packages/rocq.scm
@@ -0,0 +1,47 @@
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2018-2021 Julien Lepiller <julien@lepiller.eu>
3;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
4;;; Copyright © 2019 Dan Frumin <dfrumin@cs.ru.nl>
5;;; Copyright © 2020 Brett Gilio <brettg@gnu.org>
6;;; Copyright © 2020 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
7;;; Copyright © 2020 raingloom <raingloom@riseup.net>
8;;; Copyright © 2020 Robin Green <greenrd@greenrd.org>
9;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz>
10;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
11;;; Copyright © 2022 Garek Dyszel <garekdyszel@disroot.org>
12;;; Copyright © 2024 Foundation Devices, Inc. <hello@foundation.xyz>
13;;; Copyright © 2024 Zheng Junjie <873216071@qq.com>
14;;; Copyright © 2026 Dan Rostovtsev <dan@rostovtsev.org>
15;;; Copyright © 2026 Jason Conroy <jconroy@tscripta.net>
16;;;
17;;; This file is part of GNU Guix.
18;;;
19;;; GNU Guix is free software; you can redistribute it and/or modify it
20;;; under the terms of the GNU General Public License as published by
21;;; the Free Software Foundation; either version 3 of the License, or (at
22;;; your option) any later version.
23;;;
24;;; GNU Guix is distributed in the hope that it will be useful, but
25;;; WITHOUT ANY WARRANTY; without even the implied warranty of
26;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27;;; GNU General Public License for more details.
28;;;
29;;; You should have received a copy of the GNU General Public License
30;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
31
32(define-module (gnu packages rocq))
33
34(define (rocq-arguments opam-package-name)
35 ;; Dune parallel build is not reproducible (in rocq and camlp-streams,
36 ;; at least).
37 ;; First observed in Rocq in 2019 by bmwiedemann at OpenSUSE.
38 ;; - https://github.com/rocq-prover/rocq/issues/11229
39 ;; Was escalated to a specific package by Rocq team in 2023.
40 ;; - https://github.com/ocaml/camlp-streams/issues/9
41 ;; Was escalated to Dune by Xavier Leroy in 2023.
42 ;; - https://github.com/ocaml/dune/issues/9152
43 ;; AFAIK, no patches addressing this in any project circa 2026.
44 (list #:package opam-package-name
45 #:build-flags ''("-j1")
46 ;; The tests must be serial as well for reproducible builds.
47 #:test-flags ''("-j1")))