gnu: Add speedcrunch.

* gnu/packages/maths.scm (speedcrunch): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Steve Sprang 2019-08-21 17:17:02 -07:00 committed by Ludovic Courtès
parent 1874cdc1e1
commit 4cb5d2515c
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 34 additions and 0 deletions

View File

@ -31,6 +31,7 @@
;;; Copyright © 2018 Julien Lepiller <julien@lepiller.eu> ;;; Copyright © 2018 Julien Lepiller <julien@lepiller.eu>
;;; Copyright © 2018 Amin Bandali <bandali@gnu.org> ;;; Copyright © 2018 Amin Bandali <bandali@gnu.org>
;;; Copyright © 2019 Nicolas Goaziou <mail@nicolasgoaziou.fr> ;;; Copyright © 2019 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2019 Steve Sprang <scs@stevesprang.com>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -5136,3 +5137,36 @@ algorithm, a parametric integer programming solver, and primitives for
termination analysis via the automatic synthesis of linear ranking termination analysis via the automatic synthesis of linear ranking
functions.") functions.")
(license license:gpl3+))) (license license:gpl3+)))
(define-public speedcrunch
(package
(name "speedcrunch")
(version "0.12.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://bitbucket.org/heldercorreia/speedcrunch.git")
(commit (string-append "release-" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0vh7cd1915bjqzkdp3sk25ngy8cq624mkh8c53c5bnzk357kb0fk"))))
(build-system cmake-build-system)
(inputs `(("qtbase" ,qtbase)))
(native-inputs `(("qttools" ,qttools)))
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'chdir-to-src
(lambda _ (chdir "src") #t)))))
(synopsis "High-precision scientific calculator")
(description
"SpeedCrunch is a high-precision scientific calculator. It features a
syntax-highlighted scrollable display and is designed to be fully used via
keyboard. Some distinctive features are auto-completion of functions and
variables, a formula book, and quick insertion of constants from various
fields of knowledge.")
(home-page "http://speedcrunch.org/")
(license license:gpl2+)))