From 114b29bf3ddca688d58424909df2ca4d8590cede Mon Sep 17 00:00:00 2001 From: "Artyom V. Poptsov" Date: Wed, 8 Jan 2025 16:14:34 +0300 Subject: 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(-) (limited to 'gnu/packages/books.scm') 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 +;;; Copyright © 2023, 2024, 2025 Artyom V. Poptsov ;;; Copyright © 2023 Adam Faiz ;;; ;;; 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))) -- cgit v1.2.3