guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 4fd00c936c33ca0d174f4b956487d5f1183442e8
Author: Anderson Torres <[email protected]>
AuthorDate: Wed Oct 21 09:17:25 2026 -0300
gnu: Migrate cppi from (gnu packages cppi) to (gnu packages code).
* gnu/packages/cppi.scm (cppi): Deprecate and move from here …
* gnu/packages/code.scm: … to here.
* po/packages/POTFILES.in: Unregister cppi.scm.
Signed-off-by: Liliana Marie Prikler <[email protected]>
---
gnu/packages/code.scm | 21 +++++++++++++++++++++
gnu/packages/cppi.scm | 29 +++++------------------------
po/packages/POTFILES.in | 1 -
3 files changed, 26 insertions(+), 25 deletions(-)
diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm
index 233a1f4b2f1..00c0be2f8ca 100644
--- a/gnu/packages/code.scm
+++ b/gnu/packages/code.scm
@@ -246,6 +246,27 @@ may help in learning or reviewing unfamiliar code or
perhaps
highlighting your own code that seemed comprehensible when you wrote it.")
(license license:gpl3+)))
+(define-public cppi
+ (package
+ (name "cppi")
+ (version "1.18")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://gnu/cppi/cppi-"
+ version ".tar.xz"))
+ (sha256
+ (base32 "1jk42cjaggk71rimjnx3qpmb6hivps0917vl3z7wbxk3i2whb98j"))))
+ (build-system gnu-build-system)
+ (home-page "https://www.gnu.org/software/cppi/")
+ (synopsis "Indent C preprocessor directives to reflect nesting and more")
+ (description
+ "GNU Cppi processes C source code files to properly indent the
+preprocessor directives to reflect their nesting. It also performs other
+standardizations, such as correcting the number of spaces between directives
+and the text following them.")
+ (license license:gpl3+)))
+
(define-public cscope
(package
(name "cscope")
diff --git a/gnu/packages/cppi.scm b/gnu/packages/cppi.scm
index 39d310394be..c183323a5bf 100644
--- a/gnu/packages/cppi.scm
+++ b/gnu/packages/cppi.scm
@@ -17,28 +17,9 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages cppi)
- #:use-module (guix packages)
- #:use-module (guix download)
- #:use-module (guix build-system gnu)
- #:use-module (guix licenses))
+ #:use-module (guix deprecation))
-(define-public cppi
- (package
- (name "cppi")
- (version "1.18")
- (source (origin
- (method url-fetch)
- (uri (string-append "mirror://gnu/cppi/cppi-"
- version ".tar.xz"))
- (sha256
- (base32
- "1jk42cjaggk71rimjnx3qpmb6hivps0917vl3z7wbxk3i2whb98j"))))
- (build-system gnu-build-system)
- (home-page "https://www.gnu.org/software/cppi/")
- (synopsis "Indent C preprocessor directives to reflect nesting and more")
- (description
- "GNU Cppi processes C source code files to properly indent the
-preprocessor directives to reflect their nesting. It also performs other
-standardizations, such as correcting the number of spaces between directives
-and the text following them.")
- (license gpl3+)))
+;; This whole file was deprecated at 2026-10-21.
+
+(define-deprecated/public-alias cppi
+ (@ (gnu packages code) cppi))
diff --git a/po/packages/POTFILES.in b/po/packages/POTFILES.in
index 3e5cfb6b1f3..5dfb8da8231 100644
--- a/po/packages/POTFILES.in
+++ b/po/packages/POTFILES.in
@@ -82,7 +82,6 @@ gnu/packages/coq.scm
gnu/packages/coreboot.scm
gnu/packages/cpio.scm
gnu/packages/cpp.scm
-gnu/packages/cppi.scm
gnu/packages/cran.scm
gnu/packages/cross-base.scm
gnu/packages/cross-toolchain.scm