diff mbox series

[bug#66263,11/23] gnu: avr-binutils: Deprecate package.

Message ID 20230929091627.7820-11-jean@foundationdevices.com
State New
Headers show
Series guix: Add avr as a platform. | expand

Commit Message

Jean-Pierre De Jesus DIAZ Sept. 29, 2023, 9:16 a.m. UTC
* gnu/packages/avr.scm (avr-binutils): Delete variable.

* gnu/packages/cross-toolchain.scm (avr-binutils): New deprecated variable.
---
 gnu/packages/avr.scm             | 5 -----
 gnu/packages/cross-toolchain.scm | 4 ++++
 2 files changed, 4 insertions(+), 5 deletions(-)

Comments

Maxim Cournoyer Oct. 5, 2023, 2:48 p.m. UTC | #1
Hi,

Jean-Pierre De Jesus DIAZ <jean@foundationdevices.com> writes:

> * gnu/packages/avr.scm (avr-binutils): Delete variable.
>
> * gnu/packages/cross-toolchain.scm (avr-binutils): New deprecated
> variable.

nitpick: I'd drop the newline between file names in the ChangeLog, but
otherwise, LGTM.
diff mbox series

Patch

diff --git a/gnu/packages/avr.scm b/gnu/packages/avr.scm
index df1523274b..97873a8691 100644
--- a/gnu/packages/avr.scm
+++ b/gnu/packages/avr.scm
@@ -37,11 +37,6 @@  (define-module (gnu packages avr)
   #:use-module (gnu packages gcc)
   #:export (make-avr-libc))
 
-(define-public avr-binutils
-  (package
-    (inherit (cross-binutils "avr"))
-    (name "avr-binutils")))
-
 (define avr-gcc
   (let ((xgcc (cross-gcc "avr" #:xbinutils avr-binutils)))
     (package
diff --git a/gnu/packages/cross-toolchain.scm b/gnu/packages/cross-toolchain.scm
index 5617959851..77af6b862b 100644
--- a/gnu/packages/cross-toolchain.scm
+++ b/gnu/packages/cross-toolchain.scm
@@ -20,6 +20,7 @@  (define-module (gnu packages cross-toolchain)
   #:use-module (gnu packages avr)
   #:use-module (gnu packages cross-base)
   #:use-module (guix build-system trivial)
+  #:use-module (guix deprecation)
   #:use-module (guix packages)
   #:use-module (srfi srfi-1)
   #:export (make-cross-gcc-toolchain))
@@ -61,3 +62,6 @@  (define* (make-cross-gcc-toolchain target
 
 (define-public binutils-cross-avr
   (cross-binutils "avr"))
+
+(define-deprecated/public avr-binutils binutils-cross-avr
+  (deprecated-package "avr-binutils" binutils-cross-avr))