From: R Veera Kumar <vkor@vkten.in>
To: 40320@debbugs.gnu.org
Subject: [bug#40320] [PATCH 1/2] gnu: Add libqalculate
Date: Mon, 30 Mar 2020 10:52:23 +0530 [thread overview]
Message-ID: <c7ae76e80872ed303cbc0c8e8216f56ea7061d8e.1585545646.git.vkor@vkten.in> (raw)
Libqalculate is a multi-purpose cli desktop calculator and library.
It provides basic and advanced functionality.
Signed-off-by: R Veera Kumar <vkor@vkten.in>
---
gnu/packages/maths.scm | 57 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 57 insertions(+)
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 028f0e6ef9..1fa1d493fb 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -79,6 +79,7 @@
#:use-module (gnu packages dbm)
#:use-module (gnu packages documentation)
#:use-module (gnu packages elf)
+ #:use-module (gnu packages file)
#:use-module (gnu packages flex)
#:use-module (gnu packages fltk)
#:use-module (gnu packages fontutils)
@@ -86,8 +87,10 @@
#:use-module (gnu packages gcc)
#:use-module (gnu packages gd)
#:use-module (gnu packages ghostscript)
+ #:use-module (gnu packages glib)
#:use-module (gnu packages graphviz)
#:use-module (gnu packages gtk)
+ #:use-module (gnu packages icu4c)
#:use-module (gnu packages image)
#:use-module (gnu packages java)
#:use-module (gnu packages less)
@@ -5319,3 +5322,57 @@ researchers and developers alike to get started on SAT.")
(home-page
"http://minisat.se/MiniSat.html")
(license license:expat))))
+
+(define-public libqalculate
+ (let ((commit "90b52e685c1b0575558c5dd449dde71c313d084a")
+ (revision "1"))
+ (package
+ (name "libqalculate")
+ (version (git-version "3.8.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Qalculate/libqalculate/")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1vbaza9c7159xf2ym90l0xkyj2mp6c3hbghhsqn29yvz08fda9df"))))
+ (build-system gnu-build-system)
+ (native-inputs
+ `(("pkg-config" ,pkg-config)
+ ("intltool" ,intltool)
+ ("automake" ,automake)
+ ("autoconf" ,autoconf)
+ ("libtool" ,libtool)
+ ("m4" ,m4)
+ ("doxygen" ,doxygen)
+ ("file" ,file)))
+ (inputs
+ `(("gmp" ,gmp)
+ ("mpfr" ,mpfr)
+ ("libxml2" ,libxml2)
+ ("curl" ,curl)
+ ("icu4c" ,icu4c)
+ ("gettext" ,gettext-minimal)
+ ("gnuplot" ,gnuplot)
+ ("readline" ,readline)
+ ("libiconv" ,libiconv)))
+ (arguments
+ `( #:phases
+ (modify-phases %standard-phases
+ (delete 'bootstrap) ;; fails in autogen.sh
+ (add-before 'configure 'autogen
+ (lambda _
+ (setenv "NOCONFIGURE" "TRUE")
+ (invoke "./autogen.sh"))))))
+ (home-page "https://qalculate.github.io/")
+ (synopsis "Multi-purpose cli desktop calculator and library")
+ (description
+ "Libqalculate is a multi-purpose cli desktop calculator and library.
+It provides basic and advanced functionality. Features include customizable
+functions, unit calculations, and conversions, physical constants, symbolic
+calculations (including integrals and equations), arbitrary precision,
+uncertainity propagation, interval arithmetic, plotting and a user-friendly
+cli.")
+ (license license:gpl2+))))
--
2.26.0
next reply other threads:[~2020-03-30 5:23 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-30 5:22 R Veera Kumar [this message]
2020-03-30 5:27 ` [bug#40320] [PATCH 2/2] gnu: Add qalculate-gtk R Veera Kumar
2020-03-30 10:50 ` Danny Milosavljevic
2020-03-30 10:45 ` [bug#40320] [PATCH 1/2] gnu: Add libqalculate Danny Milosavljevic
2020-03-31 9:12 ` R Veera Kumar
2020-04-01 5:23 ` [bug#40320] [PATCH v2 " R Veera Kumar
2020-04-01 5:23 ` [bug#40320] [PATCH v2 2/2] gnu: Add qalculate-gtk R Veera Kumar
2020-04-03 13:39 ` bug#40320: " Ludovic Courtès
2020-04-03 13:37 ` [bug#40320] [PATCH v2 1/2] gnu: Add libqalculate Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c7ae76e80872ed303cbc0c8e8216f56ea7061d8e.1585545646.git.vkor@vkten.in \
--to=vkor@vkten.in \
--cc=40320@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.