From 13e062453fbd3ec8eb604dbb47e0362fa21ca41e Mon Sep 17 00:00:00 2001
From: Hartmut Goebel <h.goebel@crazy-compilers.com>
Date: Mon, 2 Dec 2019 11:47:10 +0100
Subject: [PATCH 05/17] gnu: Add kalzium.
* gnu/packages/education.scm (kalzium): New variable.
@@ -35,6 +35,7 @@ (define-module (gnu packages education)
#:use-module (gnu packages algebra)
#:use-module (gnu packages base)
#:use-module (gnu packages bash)
+ #:use-module (gnu packages chemistry)
#:use-module (gnu packages compression)
#:use-module (gnu packages curl)
#:use-module (gnu packages databases)
@@ -59,6 +60,7 @@ (define-module (gnu packages education)
#:use-module (gnu packages linux)
#:use-module (gnu packages mp3)
#:use-module (gnu packages ncurses)
+ #:use-module (gnu packages ocaml)
#:use-module (gnu packages pdf)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
@@ -736,6 +738,62 @@ (define-public kalgebra
the results in 2D or 3D. KAlgebra is rooted in the Mathematical Markup
Language (MathML); however, one does not need to know MathML to use KAlgebra.
+This package is part of the KDE education module.")
+ (license ;; GPL for programs, LGPL for libraries, FDL for documentation
+ (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
+
+(define-public kalzium
+ (package
+ (name "kalzium")
+ (version "22.04.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://kde/stable/release-service/" version
+ "/src/kalzium-" version ".tar.xz"))
+ (sha256
+ (base32 "0h1yk0da6z0y52z1hk5z4x2a22krcgxzg57jc2my2vgbrbhcrh26"))))
+ (build-system qt-build-system)
+ (native-inputs
+ (list eigen
+ extra-cmake-modules
+ kdoctools
+ pkg-config))
+ (inputs
+ (list ;; TODO: ("avogadrolibs" ,avogadrolibs)
+ ;; TODO: facile
+ karchive
+ kcodecs
+ kconfig
+ kcoreaddons
+ khtml
+ ki18n
+ kjs
+ kparts
+ kplotting
+ kunitconversion
+ kwidgetsaddons
+ ocaml
+ openbabel
+ oxygen-icons ;; default icon set
+ qtbase-5
+ qtscript
+ qtsvg-5
+ solid))
+ (home-page "https://kde.org/applications/education/org.kde.kalzium")
+ (synopsis "Periodic table of chemistry elements")
+ (description "Kalzium is a program that shows you the Periodic Table of
+Elements.
+
+You can use Kalzium to search for information about the elements or to learn
+facts about the periodic table. It provides an overview of the important
+data (like melting points, electron affinity, electron negativity, electron
+configuration, radii, mass, ionisation energy), an isotope table, and
+different colored views of the periodic table (separation of the different
+blocks, year simulator, temperature simulator). It contains tools to
+visualize the spectral lines of each element, a molecular weight calculator, a
+3D molecule editor, and an equation solver for stoichiometric problems.
+
This package is part of the KDE education module.")
(license ;; GPL for programs, LGPL for libraries, FDL for documentation
(list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
--
2.38.1