diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-04-29 17:33:26 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-05-31 14:52:27 -0400 |
commit | 19aa16d4a2f4f8b36f5bf9be3f3078e63cc1dbed (patch) | |
tree | 3e2b5b3e5423c807ecec2a0e938d14535f55e201 | |
parent | d9e54dfd4c60791b923ae309e1fb0ac635502c01 (diff) | |
download | guix-patches-19aa16d4a2f4f8b36f5bf9be3f3078e63cc1dbed.tar guix-patches-19aa16d4a2f4f8b36f5bf9be3f3078e63cc1dbed.tar.gz |
gnu: Remove omnitux.
* gnu/packages/education.scm (omnitux): Delete variable.
-rw-r--r-- | gnu/packages/education.scm | 100 |
1 files changed, 0 insertions, 100 deletions
diff --git a/gnu/packages/education.scm b/gnu/packages/education.scm index 213c8f717b..07843142f4 100644 --- a/gnu/packages/education.scm +++ b/gnu/packages/education.scm @@ -679,106 +679,6 @@ used both with interactive whiteboards or in a dual-screen setup with a pen-tablet display and a beamer.") (license license:gpl3)))) -(define-public omnitux - (package - (name "omnitux") - (version "1.2.1") - (source - (origin - (method url-fetch) - (uri (string-append "mirror://sourceforge/omnitux/omnitux/" - "v" version "/omnitux-" version ".tar.bz2")) - (sha256 - (base32 "1wmmmbzmxd0blhn00d4g91xwavnab143a31ca3i8hrqgzh6qz9w6")) - (modules '((guix build utils))) - (snippet - '(begin - ;; Remove pre-compiled .pyc files from source. - (for-each delete-file (find-files "bin" "\\.pyc$")) - #t)))) - (build-system python-build-system) - (inputs - (list python2-pygame python2-pygtk)) - (arguments - `(#:tests? #f ;no test - #:python ,python-2 - #:phases - (modify-phases %standard-phases - (delete 'build) ;no setup.py - (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (share (string-append out "/share")) - (data (string-append share "/omnitux"))) - ;; Install documentation. - (let ((doc (string-append share "/doc/" ,name "-" ,version))) - (for-each (lambda (f) (install-file f doc)) - '("LICENSE.txt" "README.txt"))) - ;; Install data. - (install-file "omnitux.sh" data) - (for-each (lambda (d) - (copy-recursively d (string-append data "/" d))) - '("bin" "data")) - ;; Install the launcher. - (let* ((bin (string-append out "/bin")) - (script (string-append bin "/omnitux")) - (bash (search-input-file %build-inputs "/bin/bash")) - (python (search-input-file %build-inputs - "/bin/python2"))) - (mkdir-p bin) - (with-output-to-file script - (lambda () - (format #t "#!~a~%" bash) - (format #t - "cd ~a; ~a menu.py~%" - (string-append data "/bin") - python))) - (chmod script #o755)) - ;; Install icon and desktop file. - (let ((pixmaps (string-append share "/pixmaps"))) - (install-file "data/default/icons/Omnitux_logo.svg" pixmaps)) - (let ((apps (string-append out "/share/applications"))) - (mkdir-p apps) - (with-output-to-file (string-append apps "/omnitux.desktop") - (lambda _ - (format #t - "[Desktop Entry]~@ - Name=Omnitux~@ - GenericName=Omnitux - Comment=An educational game based on multimedia elements.~@ - Comment[fr]=Un jeu ludo-éducatif basé sur des éléments multimédias.~@ - Exec=~a/bin/omnitux~@ - Type=Application~@ - Categories=Game;Education;~@ - Terminal=false~@ - Icon=Omnitux_logo.svg~@" - out)))) - #t)))))) - (home-page "http://omnitux.sourceforge.net/") - (synopsis "Educational activities based on multimedia elements") - (description "The project aims to provide various educational -activities around multimedia elements (images, sounds, texts). Types -of activities include: -@itemize -@item associations, -@item items to place on a map or a schema, -@item counting activities, -@item puzzles, -@item card faces to remember, -@item find differences between two pictures, -@item ... -@end itemize - -Activities are available in English, French, German, Polish, -Portuguese, Spanish and Italian.") - ;; Project's license is GPL3+, but multimedia elements are - ;; released under various licenses. - (license (list license:gpl3+ - license:gpl2+ - license:cc-by-sa2.0 - license:cc-by-sa3.0 - license:public-domain)))) - (define-public fet (package (name "fet") |