guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: book-sparc: Update to 3.0.0.


From: guix-commits
Subject: branch master updated: gnu: book-sparc: Update to 3.0.0.
Date: Wed, 08 Jan 2025 08:18:42 -0500

This is an automated email from the git hooks/post-receive script.

avp pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 114b29bf3d gnu: book-sparc: Update to 3.0.0.
114b29bf3d is described below

commit 114b29bf3ddca688d58424909df2ca4d8590cede
Author: Artyom V. Poptsov <poptsov.artyom@gmail.com>
AuthorDate: Wed Jan 8 16:14:34 2025 +0300

    gnu: book-sparc: Update to 3.0.0.
    
    * gnu/packages/books.scm (book-sparc): Update to 3.0.0.
    [arguments] <#:phases>: Install Russian and English version of the book.
    [description]: Update.
    
    Change-Id: I0857fe9cb4b0933c12e891af5a011fcc7f8d84aa
---
 gnu/packages/books.scm | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/books.scm b/gnu/packages/books.scm
index d6c0168b43..3d90dcb778 100644
--- a/gnu/packages/books.scm
+++ b/gnu/packages/books.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2023, 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com>
+;;; Copyright © 2023, 2024, 2025 Artyom V. Poptsov <poptsov.artyom@gmail.com>
 ;;; Copyright © 2023 Adam Faiz <adam.faiz@disroot.org>
 ;;;
 ;;; This file is part of GNU Guix.
@@ -42,7 +42,7 @@
 (define-public book-sparc
   (package
     (name "book-sparc")
-    (version "2.3.0")
+    (version "3.0.0")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -50,7 +50,7 @@
                     (commit (string-append "v" version))))
               (sha256
                (base32
-                "1kvspfp3z4z5laghrjr7my6nr8877myjiafbra2jrg3f42c5a4fl"))
+                "0fc8w51d6dsnn1fi0c2fq2vabx375gv0py2kfalhjpa1l193a1dw"))
               (file-name (git-file-name name version))
               (modules '((guix build utils)))))
     (build-system gnu-build-system)
@@ -119,13 +119,19 @@
                          (lambda _
                            (let ((doc-dir (string-append #$output
                                                          "/share/doc/sparc/")))
-                             (install-file "sparc.pdf" doc-dir)))))))
+                             (mkdir-p doc-dir)
+                             (copy-file "sparc.ru.pdf"
+                                        (string-append doc-dir
+                                                       "sparc.ru.pdf"))
+                             (copy-file "sparc.en.pdf"
+                                        (string-append doc-dir
+                                                       "sparc.en.pdf"))))))))
     (home-page "https://github.com/artyom-poptsov/SPARC";)
     (synopsis "Book on combining art and technology")
     (description
      "Science, Programming, Art and Radioelectronics Club (SPARC) is a book 
that
-explains how to combine the topics mentioned in the title to build projects.  
The
+explains how to combine the topics mentined in the title to build projects.  
The
 book can be used to teach programming classes in colleges and to organize
 workshops in hackerspaces or other community-driven spaces.  Currently the book
-is available only in Russian.")
+is available in Russian and English.")
     (license license:cc-by-sa4.0)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]