From 4cb5d2515ca0061f1e2b0b422d54df705ddc4956 Mon Sep 17 00:00:00 2001 From: Steve Sprang Date: Wed, 21 Aug 2019 17:17:02 -0700 Subject: [PATCH] gnu: Add speedcrunch. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/maths.scm (speedcrunch): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/maths.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 4a07b8e687..c9db51b561 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -31,6 +31,7 @@ ;;; Copyright © 2018 Julien Lepiller ;;; Copyright © 2018 Amin Bandali ;;; Copyright © 2019 Nicolas Goaziou +;;; Copyright © 2019 Steve Sprang ;;; ;;; 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 functions.") (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+))) +