From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: wcalc Date: Sat, 7 Nov 2015 23:34:27 +0200 Message-ID: <20151107233427.65821aef@debian-netbook> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/tcfuLr5ElapLnDB_RKJezrf"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43803) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZvB8B-0008Ry-2l for guix-devel@gnu.org; Sat, 07 Nov 2015 16:34:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZvB87-0000sg-Si for guix-devel@gnu.org; Sat, 07 Nov 2015 16:34:39 -0500 Received: from flashner.co.il ([178.62.234.194]:49040) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZvB87-0000sZ-HZ for guix-devel@gnu.org; Sat, 07 Nov 2015 16:34:35 -0500 Received: from debian-netbook (85.65.229.31.dynamic.barak-online.net [85.65.229.31]) by flashner.co.il (Postfix) with ESMTPSA id 221B0400AB for ; Sat, 7 Nov 2015 21:34:33 +0000 (UTC) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org --Sig_/tcfuLr5ElapLnDB_RKJezrf Content-Type: multipart/mixed; boundary="MP_/VkMl4usm75AR0X3In.iRYyT" --MP_/VkMl4usm75AR0X3In.iRYyT Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Fairly simple program, my chosen commandline calculator program. Not much to say :) --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --MP_/VkMl4usm75AR0X3In.iRYyT Content-Type: text/x-patch Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=0001-gnu-Add-wcalc.patch =46rom 054409b739008ce68b9c46362917fb4cea8c46c9 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Fri, 6 Nov 2015 14:43:15 +0200 Subject: [PATCH] gnu: Add wcalc. * gnu/packages/maths.scm (wcalc): New variable. --- gnu/packages/maths.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 4eeb39d..0cd155b 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -1962,3 +1962,30 @@ algorithm and optimum parameters depending on the da= taset. FLANN is written in C++ and contains bindings for C, Octave and Python.") (license (license:non-copyleft "file://COPYING" "See COPYING in the distribution.")))) + +(define-public wcalc + (package + (name "wcalc") + (version "2.5") + (source + (origin + (method url-fetch) + (uri + (string-append + "mirror://sourceforge/w-calc/wcalc-" version ".tar.bz2")) + (sha256 + (base32 + "1vi8dl6rccqiq1apmpwawyg2ywx6a1ic1d3cvkf2hlwk1z11fb0f")))) + (build-system gnu-build-system) + (inputs + `(("mpfr" ,mpfr) + ("readline" ,readline))) + (home-page "http://w-calc.sourceforge.net/index.php") + (synopsis "Flexible command-line scientific calculator") + (description "Wcalc is a very capable calculator. It has standard fun= ctions +(sin, asin, and sinh for example, in either radians or degrees), many +pre-defined constants (pi, e, c, etc.), support for using variables, \"act= ive\" +variables, a command history, hex/octal/binary input and output, unit +conversions, embedded comments, and an expandable expression entry field. = It +evaluates expressions using the standard order of operations.") + (license license:gpl2+))) --=20 2.6.2 --MP_/VkMl4usm75AR0X3In.iRYyT-- --Sig_/tcfuLr5ElapLnDB_RKJezrf Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJWPm5jAAoJEPTB05F+rO6T0TEP/RqmcwmeuZKL6t8R+ZFrDNTy Lnq93l/8LvXHI6/LOe1t5cJfV82Qw7FXPY8A53sfwJJsv2Wovfq5Mj9XUsGhNbF6 0nuKYYryND8AsCTD0Jn0PqOZrcBaKrx++Sb65rM6oIwar8jEtF4An8Q7QFBGt4wj NOAZwxFBLYIuqWSaWqociPEngx10icJSCzbF35q4WJPLIs28bn7aGvnzlLBoFx5R waQFklBQ11IbZpT0LAUQpjbpXPSKgbCgw8okXflxu0owbdOXPAjHhKrgVb2vWOnH csY3Dlyp1ZN9OcMFKSxxkmdUbfhKCN5dAxGED0mJwDXHSu/A8BNG2/TPX5cGpLyZ jkTpw3zZozqpscVrJ4T0PA73Nlh4pFk/k58TazrVJE1pj2HhulsWC2Bg8mZlLGQp NJzd9iZozXY6T+trZNscI9zvJ2sU5U3co56ncXG4uYp9EwaKSDEbvAhmvceJuaJj w9Vco2h/MctlgRxItdc+81+xJdtRIJoxLl0WiHfjM5212aFzwQ8OI0jdo4TBHMsG kZVaj29URhTnqJiDNDVXMUhyMlrMrCOOG9UZOVPZaz8prrCCQAxzHp54zDQeIShG jJnGH15N6mrTVJhgLMmzU6l5uKXpnezFnh8FEJPepDxzyuN6Ay5nd7C5koLsr71t tBfptdr6HKR7nYihqMBZ =D9A/ -----END PGP SIGNATURE----- --Sig_/tcfuLr5ElapLnDB_RKJezrf--