diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2015-11-06 14:43:15 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2015-11-08 23:01:50 +0200 |
commit | d8c97beb064cd710e182adec478861e62c80902f (patch) | |
tree | 8994d4025d3c65533b7790dd5b405172f9737ed4 | |
parent | 19659accef766cbb71d1c6aff1778621d4117613 (diff) | |
download | guix-d8c97beb064cd710e182adec478861e62c80902f.tar guix-d8c97beb064cd710e182adec478861e62c80902f.tar.gz |
gnu: Add wcalc.
* gnu/packages/maths.scm (wcalc): New variable.
-rw-r--r-- | gnu/packages/maths.scm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 932c693898..27b1a48809 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -1962,3 +1962,30 @@ algorithm and optimum parameters depending on the dataset. 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 functions +(sin, asin, and sinh for example, in either radians or degrees), many +pre-defined constants (pi, e, c, etc.), support for using variables, \"active\" +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+))) |