gnu: Add sysprof.

* gnu/packages/gnome.scm (sysprof): New variable.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
This commit is contained in:
Raghav Gururajan 2020-06-05 22:22:56 -04:00 committed by Danny Milosavljevic
parent d3ed745e47
commit 4e36c8a07b
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -261,6 +261,55 @@ (define-public brasero
features to enable users to create their discs easily and quickly.")
(license license:gpl2+)))
(define-public sysprof
(package
(name "sysprof")
(version "3.36.0")
(source
(origin
(method url-fetch)
(uri
(string-append "mirror://gnome/sources/" name "/"
(version-major+minor version) "/"
name "-" version ".tar.xz"))
(sha256
(base32 "024i0gzqnm79rpr4gqxdvcj6gvf82xdlcp2p1k9ikcppmi6xnw46"))))
(build-system meson-build-system)
(arguments
`(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas.
#:configure-flags
(list
;; SystemD not required.
"-Dsystemdunitdir=/tmp")))
(native-inputs
`(("desktop-file-utils" ,desktop-file-utils)
("gettext" ,gettext-minimal)
("glib:bin" ,glib "bin")
("gobject-introspection" ,gobject-introspection)
("gtk+:bin" ,gtk+ "bin")
("itstool" ,itstool)
("pkg-config" ,pkg-config)
("xmllint" ,libxml2)))
(inputs
`(("libdazzle" ,libdazzle)
("libunwind" ,libunwind)
("pango" ,pango)
("polkit" ,polkit)))
(propagated-inputs
`(("glib" ,glib)
("gtk+" ,gtk+)))
(synopsis "Kernel based performance profiler")
(description "Sysprof is a sampling profiler that uses a kernel module to
generate stacktraces which are then interpreted by the userspace program
sysprof.")
(home-page "https://wiki.gnome.org/Apps/Sysprof")
(license
(list
;; For newer codes.
license:gpl3+
;; For older codes.
license:gpl2+))))
(define-public gnome-photos
(package
(name "gnome-photos")