gnu: sicp: Deprecate in favor of book-sicp.

* gnu/packages/books.scm (book-sicp): New variable.
(sicp): Deprecate in favor of book-sicp.

Change-Id: I8484424c324fdf82a22adc0c6f01d7b376c2a309
This commit is contained in:
Sharlatan Hellseher 2025-10-19 11:43:32 +01:00
parent 9c466d3a2b
commit e5a5b1d66a
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -11,6 +11,7 @@
;;; Copyright © 2023 宋文武 <iyzsong@envs.net>
;;; Copyright © 2023-2025 Artyom V. Poptsov <poptsov.artyom@gmail.com>
;;; Copyright © 2025 Gabriel Santos <gabrielsantosdesouza@disroot.org>
;;; Copyright © 2025 Sharlatan Hellseher <sharlatanus@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@ -32,6 +33,7 @@
#:use-module (guix build-system cmake)
#:use-module (guix build-system copy)
#:use-module (guix build-system gnu)
#:use-module (guix deprecation)
#:use-module (guix download)
#:use-module (guix gexp)
#:use-module (guix git-download)
@ -113,11 +115,11 @@ biography, where the reader has the benefit of both the biographer's original
words and the subject's response.")
(license license:fdl1.3+)))
(define-public sicp
(define-public book-sicp
(let ((commit "bda03f79d6e2e8899ac2b5ca6a3732210e290a79")
(revision "3"))
(package
(name "sicp")
(name "book-sicp")
(version (git-version "20180718" revision commit))
(source (origin
(method git-fetch)
@ -156,6 +158,9 @@ core computer science concepts such as abstraction in programming,
metalinguistic abstraction, recursion, interpreters, and modular programming.")
(license license:cc-by-sa4.0))))
;; It may be removed after 2025-12-19.
(define-deprecated/public-alias sicp book-sicp)
(define-public book-sparc
(package
(name "book-sparc")