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/compiler-tools.scm52
-rw-r--r--gnu/packages/oyacc.scm36
-rw-r--r--po/packages/POTFILES.in2
6 files changed, 60 insertions, 33 deletions
diff --git a/CODEOWNERS b/CODEOWNERS
index 770a14bf6dc..0d994536a70 100644
--- a/CODEOWNERS
+++ b/CODEOWNERS
@@ -32,6 +32,7 @@ gnu/packages/assembly\.scm @guix/build-tools
32gnu/packages/autogen\.scm @guix/build-tools 32gnu/packages/autogen\.scm @guix/build-tools
33gnu/packages/autotools\.scm @guix/build-tools 33gnu/packages/autotools\.scm @guix/build-tools
34gnu/packages/bison\.scm @guix/build-tools 34gnu/packages/bison\.scm @guix/build-tools
35gnu/packages/compiler-tools\.scm @guix/build-tools
35gnu/packages/m4\.scm @guix/build-tools 36gnu/packages/m4\.scm @guix/build-tools
36gnu/packages/oyacc\.scm @guix/build-tools 37gnu/packages/oyacc\.scm @guix/build-tools
37gnu/packages/re2c\.scm @guix/build-tools 38gnu/packages/re2c\.scm @guix/build-tools
diff --git a/etc/teams.scm b/etc/teams.scm
index 82d884c163b..4aac736071d 100755
--- a/etc/teams.scm
+++ b/etc/teams.scm
@@ -514,6 +514,7 @@ of Rebar and Mix build systems and Hex.pm importer."
514 "gnu/packages/autogen.scm" 514 "gnu/packages/autogen.scm"
515 "gnu/packages/autotools.scm" 515 "gnu/packages/autotools.scm"
516 "gnu/packages/bison.scm" 516 "gnu/packages/bison.scm"
517 "gnu/packages/compiler-tools.scm"
517 "gnu/packages/m4.scm" 518 "gnu/packages/m4.scm"
518 "gnu/packages/oyacc.scm" 519 "gnu/packages/oyacc.scm"
519 "gnu/packages/re2c.scm"))) 520 "gnu/packages/re2c.scm")))
diff --git a/gnu/local.mk b/gnu/local.mk
index 3087f9aa6f7..7449a9810c6 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -208,6 +208,7 @@ GNU_SYSTEM_MODULES = \
208 %D%/packages/cobol.scm \ 208 %D%/packages/cobol.scm \
209 %D%/packages/code.scm \ 209 %D%/packages/code.scm \
210 %D%/packages/commencement.scm \ 210 %D%/packages/commencement.scm \
211 %D%/packages/compiler-tools.scm \
211 %D%/packages/compression.scm \ 212 %D%/packages/compression.scm \
212 %D%/packages/compton.scm \ 213 %D%/packages/compton.scm \
213 %D%/packages/computer-architecture.scm \ 214 %D%/packages/computer-architecture.scm \
diff --git a/gnu/packages/compiler-tools.scm b/gnu/packages/compiler-tools.scm
new file mode 100644
index 00000000000..6dd9a62b85b
--- /dev/null
+++ b/gnu/packages/compiler-tools.scm
@@ -0,0 +1,52 @@
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2025 Anderson Torres <anderson.torres.8519@gmail.com>
3;;;
4;;; This file is part of GNU Guix.
5;;;
6;;; GNU Guix is free software; you can redistribute it and/or modify it
7;;; under the terms of the GNU General Public License as published by
8;;; the Free Software Foundation; either version 3 of the License, or (at
9;;; your option) any later version.
10;;;
11;;; GNU Guix is distributed in the hope that it will be useful, but
12;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14;;; GNU General Public License for more details.
15;;;
16;;; You should have received a copy of the GNU General Public License
17;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
18
19(define-module (gnu packages compiler-tools)
20 #:use-module (guix build-system gnu)
21 #:use-module (guix gexp)
22 #:use-module (guix git-download)
23 #:use-module ((guix licenses) #:prefix license:)
24 #:use-module (guix packages))
25
26(define-public oyacc
27 (package
28 (name "oyacc")
29 (version "6.6")
30 (source
31 (origin
32 (method git-fetch)
33 (uri (git-reference
34 (url "https://github.com/ibara/yacc")
35 (commit (string-append name "-" version))))
36 (file-name (git-file-name name version))
37 (sha256
38 (base32 "1a2nyg2nnh1las40klnp037sapaaph86kjx258cpqcwnk4cv3rnx"))))
39 (build-system gnu-build-system)
40 (arguments
41 (list
42 #:test-target "test"
43 #:make-flags
44 #~(list (string-append "BINDIR=" #$output "/bin")
45 (string-append "MANDIR=" #$output "/share/man/man1"))))
46 (home-page "https://github.com/ibara/yacc")
47 (synopsis "Portable YACC from OpenBSD")
48 (description
49 "@command{oyacc} is a portable version of the OpenBSD's
50@acronym{yacc, Yet Another Compiler Compiler} program, with no dependencies
51besides libc.")
52 (license license:bsd-2)))
diff --git a/gnu/packages/oyacc.scm b/gnu/packages/oyacc.scm
index 4510b640fe0..9eadb891c27 100644
--- a/gnu/packages/oyacc.scm
+++ b/gnu/packages/oyacc.scm
@@ -17,36 +17,8 @@
17;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. 17;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
18 18
19(define-module (gnu packages oyacc) 19(define-module (gnu packages oyacc)
20 #:use-module ((guix licenses) #:prefix license:) 20 #:use-module (gnu packages compiler-tools)
21 #:use-module (guix packages) 21 #:use-module (guix deprecation))
22 #:use-module (guix gexp)
23 #:use-module (guix git-download)
24 #:use-module (guix build-system gnu))
25 22
26(define-public oyacc 23(define-deprecated/public-alias oyacc
27 (package 24 (@ (gnu packages compiler-tools) oyacc))
28 (name "oyacc")
29 (version "6.6")
30 (source
31 (origin
32 (method git-fetch)
33 (uri (git-reference
34 (url "https://github.com/ibara/yacc")
35 (commit (string-append name "-" version))))
36 (file-name (git-file-name name version))
37 (sha256
38 (base32 "1a2nyg2nnh1las40klnp037sapaaph86kjx258cpqcwnk4cv3rnx"))))
39 (build-system gnu-build-system)
40 (arguments
41 (list
42 #:test-target "test"
43 #:make-flags
44 #~(list (string-append "BINDIR=" #$output "/bin")
45 (string-append "MANDIR=" #$output "/share/man/man1"))))
46 (synopsis "Portable YACC from OpenBSD")
47 (description
48 "@command{oyacc} is a portable version of the OpenBSD's
49@acronym{yacc, Yet Another Compiler Compiler} program, with no dependencies
50besides libc.")
51 (home-page "https://github.com/ibara/yacc")
52 (license license:bsd-2)))
diff --git a/po/packages/POTFILES.in b/po/packages/POTFILES.in
index 7b53a330f42..18cc2aaf781 100644
--- a/po/packages/POTFILES.in
+++ b/po/packages/POTFILES.in
@@ -70,6 +70,7 @@ gnu/packages/cmake.scm
70gnu/packages/cobol.scm 70gnu/packages/cobol.scm
71gnu/packages/code.scm 71gnu/packages/code.scm
72gnu/packages/commencement.scm 72gnu/packages/commencement.scm
73gnu/packages/compiler-tools.scm
73gnu/packages/compression.scm 74gnu/packages/compression.scm
74gnu/packages/compton.scm 75gnu/packages/compton.scm
75gnu/packages/computer-architecture.scm 76gnu/packages/computer-architecture.scm
@@ -562,7 +563,6 @@ gnu/packages/xdisorg.scm
562gnu/packages/zig-xyz.scm 563gnu/packages/zig-xyz.scm
563gnu/packages/zile.scm 564gnu/packages/zile.scm
564gnu/packages/fluidplug.scm 565gnu/packages/fluidplug.scm
565gnu/packages/oyacc.scm
566gnu/packages/wxwidgets.scm 566gnu/packages/wxwidgets.scm
567gnu/packages/xfig.scm 567gnu/packages/xfig.scm
568gnu/packages/xorg.scm 568gnu/packages/xorg.scm