From e4c6f292ae18962ff29fcfa72c1dc8d96573337b Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Mon, 2 Dec 2019 11:57:10 +0100 Subject: [PATCH 17/17] !gnu: Add khangman. * gnu/packages/education.scm (khangman): New variable. diff --git a/gnu/packages/education.scm b/gnu/packages/education.scm index fea0ee5190..4a4fa6aa0e 100644 --- a/gnu/packages/education.scm +++ b/gnu/packages/education.scm @@ -1070,7 +1070,51 @@ (define-public kgeography @item The game tells you a map division name and you have to guess its flag @item The game shows an empty map and you have to place divisions on it one by one @end itemize +This package is part of the KDE education module.") + (license ;; GPL for programs, FDL for documentation + (list license:gpl2+ license:fdl1.2+)))) +(define-public khangman + (package + (name "khangman") + (version "22.04.3") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/release-service/" version + "/src/khangman-" version ".tar.xz")) + (sha256 + (base32 "00xanpzkd7r41bn5pp44jnyvwvdygsx7j6l454pp32m8a2d9iala")))) + (build-system qt-build-system) + (native-inputs + (list extra-cmake-modules + kdoctools)) + (inputs + (list kcompletion + kconfig + kconfigwidgets + kcoreaddons + kcrash + kdeclarative + ki18n + kio + knewstuff + knotifications + kxmlgui + libkeduvocdocument + oxygen-icons ;; default icon set + qtbase-5 + qtdeclarative-5 + qtsvg-5)) + (home-page "https://kde.org/applications/education/org.kde.khangman") + (synopsis "Classical hangman game") + (description "KHangMan is a game based on the well-known hangman game. It +is aimed at children aged six and over. The game has several categories of +words to play with, for example: Animals (animals words) and three difficulty +categories: Easy, Medium and Hard. A word is picked at random, the letters +are hidden, and you must guess the word by trying one letter after another. +Each time you guess a wrong letter, part of a picture of a hangman is drawn. +You must guess the word before being hanged! You have 10 tries. This package is part of the KDE education module.") (license ;; GPL for programs, FDL for documentation (list license:gpl2+ license:fdl1.2+)))) @@ -1112,7 +1156,6 @@ (define-public kig and all elements can be modified directly by using the mouse. Kig helps teachers and students to make conjectures and to understand how to prove geometric theorems. - This package is part of the KDE education module.") (license ;; GPL for programs, FDL for documentation (list license:gpl2+ license:fdl1.2+)))) -- 2.38.1