gnu: Add pantheon-calculator.
* gnu/packages/pantheon.scm (pantheon-calculator): New variable. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
This commit is contained in:
parent
11491e1b1b
commit
969811ad0e
|
@ -17,6 +17,7 @@
|
||||||
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
(define-module (gnu packages pantheon)
|
(define-module (gnu packages pantheon)
|
||||||
|
#:use-module (gnu packages cmake)
|
||||||
#:use-module (gnu packages gettext)
|
#:use-module (gnu packages gettext)
|
||||||
#:use-module (gnu packages glib)
|
#:use-module (gnu packages glib)
|
||||||
#:use-module (gnu packages gnome)
|
#:use-module (gnu packages gnome)
|
||||||
|
@ -65,3 +66,44 @@ (define-public granite
|
||||||
things, it provides complex widgets and convenience functions designed for use
|
things, it provides complex widgets and convenience functions designed for use
|
||||||
in apps built for the Pantheon desktop.")
|
in apps built for the Pantheon desktop.")
|
||||||
(license license:lgpl3+)))
|
(license license:lgpl3+)))
|
||||||
|
|
||||||
|
(define-public pantheon-calculator
|
||||||
|
(package
|
||||||
|
(name "pantheon-calculator")
|
||||||
|
(version "1.5.5")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/elementary/calculator.git")
|
||||||
|
(commit version)))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1csxsr2c8qvl97xz9ahwn91z095nzgr0i1mbcb1spljll2sr9lkj"))))
|
||||||
|
(build-system meson-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:glib-or-gtk? #t
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'disable-schema-cache-generation
|
||||||
|
(lambda _
|
||||||
|
(setenv "DESTDIR" "/")
|
||||||
|
#t)))))
|
||||||
|
(inputs
|
||||||
|
`(("granite" ,granite)
|
||||||
|
("glib" ,glib)
|
||||||
|
("gtk" ,gtk+)
|
||||||
|
("libgee" ,libgee)))
|
||||||
|
(native-inputs
|
||||||
|
`(("cmake" ,cmake)
|
||||||
|
("glib:bin" ,glib "bin") ; for glib-compile-schemas
|
||||||
|
("gettext" ,gettext-minimal)
|
||||||
|
("pkg-config" ,pkg-config)
|
||||||
|
("vala" ,vala)))
|
||||||
|
(home-page "https://github.com/elementary/calculator")
|
||||||
|
(synopsis "Desktop calculator")
|
||||||
|
(description "Calculator is an application for performing simple
|
||||||
|
arithmetic. It is the default calculator application in the Pantheon
|
||||||
|
desktop.")
|
||||||
|
(license license:gpl3)))
|
||||||
|
|
Loading…
Reference in a new issue