Merge branch 'patch/green-with-envy' into 'master'
Draft: Green with envy See merge request nonguix/nonguix!255
This commit is contained in:
commit
a763294fb8
|
@ -21,6 +21,7 @@
|
|||
#:use-module (guix build-system cmake)
|
||||
#:use-module (guix build-system copy)
|
||||
#:use-module (guix build-system gnu)
|
||||
#:use-module (guix build-system meson)
|
||||
#:use-module (guix build-system python)
|
||||
#:use-module (guix build-system trivial)
|
||||
#:use-module (gnu packages base)
|
||||
|
@ -28,12 +29,14 @@
|
|||
#:use-module (gnu packages bootstrap)
|
||||
#:use-module (gnu packages check)
|
||||
#:use-module (gnu packages compression)
|
||||
#:use-module (gnu packages databases)
|
||||
#:use-module (gnu packages elf)
|
||||
#:use-module (gnu packages freedesktop)
|
||||
#:use-module (gnu packages gawk)
|
||||
#:use-module (gnu packages gcc)
|
||||
#:use-module (gnu packages gl)
|
||||
#:use-module (gnu packages glib)
|
||||
#:use-module (gnu packages gnome)
|
||||
#:use-module (gnu packages gtk)
|
||||
#:use-module (gnu packages linux)
|
||||
#:use-module (gnu packages m4)
|
||||
|
@ -142,6 +145,58 @@
|
|||
and usage.")
|
||||
(license license-gnu:expat)))
|
||||
|
||||
(define-public green-with-envy
|
||||
(package
|
||||
(name "green-with-envy")
|
||||
(version "0.15.5")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://gitlab.com/leinardi/gwe")
|
||||
(commit version)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"0mw75hz3232d7k5xrnvb0afc2kz8ab9mbrad6469n3dfx4dvzv3d"))))
|
||||
(build-system meson-build-system)
|
||||
(arguments
|
||||
(list #:glib-or-gtk? #t
|
||||
#:phases #~(modify-phases %standard-phases
|
||||
(add-after 'install 'wrap-bin
|
||||
(lambda* _
|
||||
(wrap-program (string-append #$output "/bin/gwe")
|
||||
`("GI_TYPELIB_PATH" ":" prefix
|
||||
(,(getenv "GI_TYPELIB_PATH")))
|
||||
`("GUIX_PYTHONPATH" ":" prefix
|
||||
(,(getenv "GUIX_PYTHONPATH")))))))))
|
||||
(native-inputs (list desktop-file-utils
|
||||
gobject-introspection
|
||||
pkg-config
|
||||
gobject-introspection
|
||||
`(,glib "bin")
|
||||
`(,gtk+ "bin")))
|
||||
(inputs (list gtk+
|
||||
libappindicator
|
||||
libdazzle
|
||||
libnotify
|
||||
python
|
||||
python-injector
|
||||
python-matplotlib
|
||||
python-peewee
|
||||
python-py3nvml
|
||||
python-pycairo
|
||||
python-pygobject
|
||||
python-xlib
|
||||
python-pyxdg
|
||||
python-requests
|
||||
python-rx))
|
||||
(synopsis "Control the fans and overclock your NVIDIA card")
|
||||
(description
|
||||
"Green With Envy is a GTK system utility designed to provide information,
|
||||
control the fans and overclock your NVIDIA video card and graphics processor.")
|
||||
(home-page "https://gitlab.com/leinardi/gwe")
|
||||
(license license-gnu:gpl3+)))
|
||||
|
||||
(define-public python-nvidia-ml-py
|
||||
(package
|
||||
(name "python-nvidia-ml-py")
|
||||
|
|
Loading…
Reference in New Issue
Block a user