diff options
Diffstat (limited to 'gnu/packages/education.scm')
-rw-r--r-- | gnu/packages/education.scm | 158 |
1 files changed, 19 insertions, 139 deletions
diff --git a/gnu/packages/education.scm b/gnu/packages/education.scm index 33855baef4..df4b188519 100644 --- a/gnu/packages/education.scm +++ b/gnu/packages/education.scm @@ -11,7 +11,7 @@ ;;; Copyright © 2020 Prafulla Giri <pratheblackdiamond@gmail.com> ;;; Copyright © 2021 Nicolò Balzarotti <nicolo@nixo.xyz> ;;; Copyright © 2022 Luis Felipe López Acevedo <luis.felipe.la@protonmail.com> -;;; Copyright © 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com> +;;; Copyright © 2023 Maxim Cournoyer <maxim@guixotic.coop> ;;; Copyright © 2024 Luis Higino <luishenriquegh2701@gmail.com> ;;; ;;; This file is part of GNU Guix. @@ -47,6 +47,7 @@ #:use-module (gnu packages gettext) #:use-module (gnu packages glib) #:use-module (gnu packages gnome) + #:use-module (gnu packages golang) #:use-module (gnu packages golang-build) #:use-module (gnu packages golang-check) #:use-module (gnu packages golang-web) @@ -55,8 +56,6 @@ #:use-module (gnu packages gstreamer) #:use-module (gnu packages image) #:use-module (gnu packages javascript) - #:use-module (gnu packages kde) - #:use-module (gnu packages kde-frameworks) ; extra-cmake-modules #:use-module (gnu packages linux) #:use-module (gnu packages mp3) #:use-module (gnu packages ncurses) @@ -113,6 +112,7 @@ (build-system go-build-system) (arguments (list + #:go go-1.23 #:install-source? #f #:import-path "github.com/xalanq/cf-tool" #:phases @@ -127,7 +127,7 @@ go-github-com-fatih-color go-github-com-k0kubun-go-ansi go-github-com-mitchellh-go-homedir - go-github-com-olekukonko-tablewriter + go-github-com-olekukonko-tablewriter-0.0.5 go-github-com-puerkitobio-goquery go-github-com-sergi-go-diff go-github-com-shirou-gopsutil @@ -216,66 +216,6 @@ of categories with some of the activities available in that category. ") (license license:gpl3+))) -(define-public gcompris-qt - (package - (name "gcompris-qt") - (version "25.0.12") - (source - (origin - (method url-fetch) - (uri (string-append - "mirror://kde/stable/gcompris/qt/src/gcompris-qt-" - version ".tar.xz")) - (sha256 - (base32 "1my67r7x6j7snidnj47v3ndhf3i5sxn0zqj4d8apaw6mbqms96vj")))) - (build-system qt-build-system) - (arguments - (list #:qtbase qtbase - #:phases - #~(modify-phases %standard-phases - (add-before 'check 'start-xorg-server - (lambda* (#:key inputs #:allow-other-keys) - ;; The test suite requires a running X server. - (system "Xvfb :1 &") - (setenv "DISPLAY" ":1") - ;; The test suite wants to write to /homeless-shelter - (setenv "HOME" (getcwd))))) - #:configure-flags #~(list "-DQML_BOX2D_MODULE=disabled"))) - (native-inputs - (list extra-cmake-modules - gettext-minimal - kdoctools - perl - pkg-config - qttools - xorg-server-for-tests)) - (inputs - (list openssl - python-wrapper - qtcharts - qtdeclarative - qtmultimedia - qtsensors - qtsvg)) - (home-page "https://gcompris.net/index-en.html") - (synopsis "Educational games for small children") - (description - "Gcompris offers a large collection of educational games for small -children, designed to be a unified interface to integrate more educational -games. Language-oriented games contain vocabulary, sounds, and voices for -many different languages. -Currently available boards include: -@enumerate -@item learning how to use a mouse and keyboard -@item learning simple arithmetic -@item learning how to read an analog clock -@item recognize letters after hearing their names -@item reading practice -@item small games (memory games, jigsaw puzzles, ...) -@end enumerate") - (license (list license:silofl1.1 ; bundled fonts - license:agpl3+)))) - (define-public gotypist (let ((revision "0") (commit "03f8618f8e23acdaa94cda3bcf197da520db8dd4")) @@ -334,7 +274,7 @@ frequently used words in American English.") (define-public tipp10 (package (name "tipp10") - (version "3.3.0") + (version "3.3.4") (source (origin (method git-fetch) ;; Use the community maintained Qt 6 fork of the project, as the @@ -346,7 +286,7 @@ frequently used words in American English.") (file-name (git-file-name name version)) (sha256 (base32 - "138xf55csnq53mlkhj50g9bacay8kxz6p9vnzd7jyv6rq1xch5nq")))) + "1a6swdzf15jrqafwzv7grkdcl4a4nhpm8b8lh6br0djxkzqzx45b")))) (build-system qt-build-system) (arguments (list #:qtbase qtbase ;qtbase 6 #:tests? #f)) ;packages has no tests @@ -536,7 +476,7 @@ specialized device.") (lambda* (#:key inputs #:allow-other-keys) (substitute* "OpenBoard.pro" (("/usr/include/quazip5") - (search-input-directory inputs "/include/QuaZip-Qt5-1.4/quazip")) + (search-input-directory inputs "/include/QuaZip-Qt5-1.5/quazip")) (("-lquazip5") "-lquazip1-qt5") (("/usr/include/poppler") @@ -681,76 +621,6 @@ hours.") language and very flexible regarding to new or unknown keyboard layouts.") (license license:gpl3+))) -(define-public kqtquickcharts - (package - (name "kqtquickcharts") - (version "24.12.3") - (source (origin - (method url-fetch) - (uri (string-append "mirror://kde/stable/release-service/" - version "/src/kqtquickcharts-" version ".tar.xz")) - (sha256 - (base32 - "1hgcl062i94abq0cwz9fijyjhv2qs3fsjikiy2jb3sh73m6jydqn")))) - (build-system qt-build-system) - (native-inputs (list extra-cmake-modules)) - (inputs (list qtdeclarative-5)) - (arguments (list #:tests? #f)) - (home-page "https://invent.kde.org/libraries/kqtquickcharts") - (synopsis "QtQuick plugin to render beautiful and interactive charts") - (description - "This package provides a QtQuick plugin to render beautiful and interactive -charts.") - (license (list license:lgpl2.0+ license:gpl2+)))) - -(define-public ktouch - (package - (name "ktouch") - (version "24.12.3") - (source - (origin - (method url-fetch) - (uri (string-append "mirror://kde/stable/release-service/" - version "/src/ktouch-" version ".tar.xz")) - (sha256 - (base32 "1sqzm8xf3xaia0b761mgpb2q4gc8yxwhvkzwdvw0spj25irdv7n5")))) - (build-system qt-build-system) - (native-inputs - (list extra-cmake-modules kdoctools-5 pkg-config)) - (inputs - (list kcmutils-5 - kcompletion-5 - kconfig-5 - kconfigwidgets-5 - kcoreaddons-5 - kdeclarative-5 - ki18n-5 - kiconthemes-5 - kitemviews-5 - ktextwidgets-5 - kwidgetsaddons-5 - kwindowsystem-5 - kxmlgui-5 - kqtquickcharts - libxcb - libxkbfile - qtbase-5 - qtdeclarative-5 - qtgraphicaleffects - qtquickcontrols2-5 - qtx11extras - qtxmlpatterns-5)) - (arguments (list #:tests? #f)) - (home-page "https://edu.kde.org/ktouch/") - (synopsis "Touch typing tutor") - (description - "KTouch is an aid for learning how to type with speed and accuracy. It -provides a sample text to type and indicates which fingers should be used for -each key. A collection of lessons are included for a wide range of different -languages and keyboard layouts, and typing statistics are used to dynamically -adjust the level of difficulty.") - (license license:gpl2))) - (define-public kanatest ;; Latest release tarball is 0.4.8, which is really old and does not build ;; commit on sourceforge are not tagged, we take the latest @@ -1112,7 +982,7 @@ machine, and more.") (define-public exercism (package (name "exercism") - (version "3.5.5") + (version "3.5.7") (source (origin (method git-fetch) @@ -1121,11 +991,12 @@ machine, and more.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1a53caqrxv0rhg79md97vnzcbr9gnz3mzjkk7xyafc3h456b4gsz")) + (base32 "1w1md548janc16svdqij6bya5r6rayl13760jmsx28ws8yv2wjqf")) (patches (search-patches "exercism-disable-self-update.patch")))) (build-system go-build-system) (arguments (list + #:go go-1.23 #:install-source? #f #:import-path "github.com/exercism/cli/exercism" #:unpack-path "github.com/exercism/cli" @@ -1133,6 +1004,13 @@ machine, and more.") #:test-subdirs #~(list "../../...") #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'patch-xdg-open + (lambda* (#:key unpack-path #:allow-other-keys) + (with-directory-excursion (string-append "src/" unpack-path) + (substitute* "browser/open.go" + (("xdg-open") + (string-append #$(this-package-input "xdg-utils") + "/bin/xdg-open")))))) (add-after 'install 'install-completions (lambda* (#:key outputs #:allow-other-keys) (let* ((exercism (string-append #$output "/bin/exercism")) @@ -1165,6 +1043,8 @@ machine, and more.") go-github-com-stretchr-testify go-golang-org-x-net go-golang-org-x-text)) + (inputs + (list xdg-utils)) (home-page "https://exercism.org/") (synopsis "Mentored learning for programming languages") (description |