From 26e56c9e071bcfeca7d69d70136ea4b65d779b9c Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Mon, 2 Dec 2019 11:37:34 +0100 Subject: [PATCH 16/17] !gnu: Add cantor. * gnu/packages/education.scm (cantor): New variable. diff --git a/gnu/packages/education.scm b/gnu/packages/education.scm index e375b619e9..fea0ee5190 100644 --- a/gnu/packages/education.scm +++ b/gnu/packages/education.scm @@ -34,6 +34,7 @@ (define-module (gnu packages education) #:use-module (ice-9 regex) #:use-module (gnu packages) + #:use-module (gnu packages algebra) #:use-module (gnu packages audio) #:use-module (gnu packages algebra) #:use-module (gnu packages astronomy) @@ -60,10 +61,16 @@ (define-module (gnu packages education) #:use-module (gnu packages gstreamer) #:use-module (gnu packages image) #:use-module (gnu packages javascript) + #:use-module (gnu packages julia) #:use-module (gnu packages kde) #:use-module (gnu packages kde-frameworks) ; extra-cmake-modules #:use-module (gnu packages linux) + #:use-module (gnu packages libevent) + #:use-module (gnu packages lua) + #:use-module (gnu packages markup) + #:use-module (gnu packages maths) #:use-module (gnu packages mp3) + #:use-module (gnu packages multiprecision) #:use-module (gnu packages ncurses) #:use-module (gnu packages ocaml) #:use-module (gnu packages pdf) @@ -77,6 +84,7 @@ (define-module (gnu packages education) #:use-module (gnu packages readline) #:use-module (gnu packages sdl) #:use-module (gnu packages sqlite) + #:use-module (gnu packages statistics) #:use-module (gnu packages texinfo) #:use-module (gnu packages tls) #:use-module (gnu packages video) @@ -202,6 +210,72 @@ (define-public blinken the sequence of lights in the correct order, they advance to the next stage, where an identical sequence with one extra step is presented. +This package is part of the KDE education module.") + (license ;; GPL for programs, FDL for documentation + (list license:gpl2+ license:fdl1.2+)))) + +(define-public cantor + (package + (name "cantor") + (version "22.04.3") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/release-service/" version + "/src/cantor-" version ".tar.xz")) + (sha256 + (base32 "007x06fi9wbw7f0bwry8aj5khynma3zw5gmllwz1lgn3zhpxqih3")))) + (build-system qt-build-system) + (native-inputs + (list extra-cmake-modules + kdoctools + pkg-config + qttools-5)) + (inputs + (list karchive + kcompletion + kconfig + kcoreaddons + kcrash + ki18n + kiconthemes + kio + knewstuff + kparts + kpty + ksyntaxhighlighting + ktexteditor + ktextwidgets + kxmlgui + libuv + oxygen-icons ;; default icon set + poppler-qt5 + qtbase-5 + qtdeclarative-5 + qtsvg-5 + qtwebchannel-5 + qtwebengine-5 + qtxmlpatterns + shared-mime-info + ; optional: + discount + libspectre + ; back-ends: + analitza + gmp ;; for libqalculate + julia + libqalculate + luajit + mpfr ;; for libqalculate + python)) + ;; TODO: ("r" ,r) ; also requires gfortran + (home-page "https://kde.org/applications/education/org.kde.cantor") + (synopsis "Front-end for doing Mathematics and Scientific Computing") + (description "Cantor is a front-end to powerful mathematics and +statistics packages. Cantor integrates them into the KDE Platform and provides +a nice, worksheet-based, graphical user interface. It supports environments +for KAlgebra, Lua, Maxima, R, Sage, Octave, Python, Scilab, and Qalculate! + 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