aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRene Saavedra <rennes@openmailbox.org>2016-09-23 07:53:09 -0500
committerKei Kebreau <kei@openmailbox.org>2016-09-24 00:51:52 -0400
commit54021cd8c653f72fec5e487448a1b6aedb0c4fbe (patch)
treefb63fcb23b28699f59db855311ee4be936043103 /gnu
parent80588800176c3cfb2443fa22fbd0ab627f0f7a6c (diff)
downloadguix-54021cd8c653f72fec5e487448a1b6aedb0c4fbe.tar
guix-54021cd8c653f72fec5e487448a1b6aedb0c4fbe.tar.gz
gnu: Add gnome-calculator.
* gnu/packages/gnome.scm (gnome-calculator): New variable. Signed-off-by: Kei Kebreau <kei@openmailbox.org>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/gnome.scm32
1 files changed, 31 insertions, 1 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 01736e9389..e4ff0ef2c4 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -14,7 +14,6 @@
;;; Copyright © 2015, 2016 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Rene Saavedra <rennes@openmailbox.org>
;;; Copyright © 2016 Jochem Raat <jchmrt@riseup.net>
-;;; Copyright © 2016 Rene Saavedra <rennes@openmailbox.org>
;;; Copyright © 2016 Kei Kebreau <kei@openmailbox.org>
;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
@@ -110,6 +109,7 @@
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages mail)
#:use-module (gnu packages mit-krb5)
+ #:use-module (gnu packages multiprecision)
#:use-module (gnu packages backup)
#:use-module (gnu packages nettle)
#:use-module (gnu packages ncurses)
@@ -5501,3 +5501,33 @@ write this kind of application, by providing a base class, taking care of all
the IPC machinery needed to send messages to a running instance, and also
handling the startup notification side.")
(license license:lgpl2.1+)))
+
+(define-public gnome-calculator
+ (package
+ (name "gnome-calculator")
+ (version "3.20.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://gnome/sources/" name "/"
+ (version-major+minor version) "/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32
+ "1yx86kyd54y3k3b6rmdazvmpxzl0zn791zr1q87zjc5228mc3w9a"))))
+ (build-system glib-or-gtk-build-system)
+ (native-inputs
+ `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
+ ("intltool" ,intltool)
+ ("itstool" ,itstool)
+ ("pkg-config" ,pkg-config)))
+ (inputs
+ `(("gtksourceview" ,gtksourceview)
+ ("libsoup" ,libsoup)
+ ("mpfr" ,mpfr)))
+ (home-page "https://wiki.gnome.org/Apps/Calculator")
+ (synopsis "Desktop calculator")
+ (description
+ "Calculator is an application that solves mathematical equations and
+is suitable as a default application in a Desktop environment.")
+ (license license:gpl3)))