;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2016 Rene Saavedra ;;; ;;; This file is part of GNU Guix. ;;; ;;; GNU Guix is free software; you can redistribute it and/or modify it ;;; under the terms of the GNU General Public License as published by ;;; the Free Software Foundation; either version 3 of the License, or (at ;;; your option) any later version. ;;; ;;; GNU Guix is distributed in the hope that it will be useful, but ;;; WITHOUT ANY WARRANTY; without even the implied warranty of ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;;; GNU General Public License for more details. ;;; ;;; You should have received a copy of the GNU General Public License ;;; along with GNU Guix. If not, see . (define-module (gnu packages gnome-calculator) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix build-system glib-or-gtk) #:use-module (guix download) #:use-module (guix packages) #:use-module (guix utils) #:use-module (gnu packages glib) #:use-module (gnu packages gnome) #:use-module (gnu packages gtk) #:use-module (gnu packages multiprecision) #:use-module (gnu packages pkg-config)) (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 `(("intltool" ,intltool) ("itstool" ,itstool) ("pkg-config" ,pkg-config))) (inputs `(("glib" ,glib) ; for glib-compile-schemas, gio-2.0. ("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)))