diff options
author | Meiyo Peng <meiyo.peng@gmail.com> | 2018-10-18 10:41:43 +0800 |
---|---|---|
committer | 宋文武 <iyzsong@member.fsf.org> | 2018-10-23 22:39:09 +0800 |
commit | bf076d8ba6acf658a0d290ff02541decc4e729c5 (patch) | |
tree | 10b41b1a95f45e0b51ed210fe1a7155e844b4498 /gnu | |
parent | 64fac507dd27c2bd68d4d0e6c4716a0370b6f2cb (diff) | |
download | guix-bf076d8ba6acf658a0d290ff02541decc4e729c5.tar guix-bf076d8ba6acf658a0d290ff02541decc4e729c5.tar.gz |
gnu: Add libstatgrab.
* gnu/packages/lxqt.scm (libstatgrab): New variable.
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/lxqt.scm | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/gnu/packages/lxqt.scm b/gnu/packages/lxqt.scm index b1f81bdd51..b45d21c87b 100644 --- a/gnu/packages/lxqt.scm +++ b/gnu/packages/lxqt.scm @@ -24,16 +24,18 @@ (define-module (gnu packages lxqt) #:use-module (guix download) - #:use-module ((guix licenses) #:select (lgpl2.1+)) + #:use-module ((guix licenses)) #:use-module (guix packages) #:use-module (guix utils) #:use-module (guix build-system cmake) + #:use-module (guix build-system gnu) #:use-module (gnu packages) #:use-module (gnu packages documentation) #:use-module (gnu packages freedesktop) #:use-module (gnu packages glib) #:use-module (gnu packages kde-frameworks) #:use-module (gnu packages linux) + #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages polkit) #:use-module (gnu packages qt) @@ -145,6 +147,30 @@ components of the LXQt desktop environment.") in Qt.") (license lgpl2.1+))) +(define-public libstatgrab + (package + (name "libstatgrab") + (version "0.91") + (source + (origin + (method url-fetch) + (uri (string-append "https://ftp.i-scream.org/pub/i-scream/libstatgrab/" + name "-" version ".tar.gz")) + (sha256 + (base32 "1azinx2yzs442ycwq6p15skl3mscmqj7fd5hq7fckhjp92735s83")))) + (build-system gnu-build-system) + (arguments + '(#:configure-flags '("--enable-tests"))) + (native-inputs + ;; For testing. + `(("perl" ,perl))) + (home-page "https://www.i-scream.org/libstatgrab/") + (synopsis "Provides access to statistics about the system") + (description "libstatgrab is a library that provides cross platform access +to statistics about the system on which it's run.") + ;; Libraries are under LGPL2.1+, and programs under GPLv2+. + (license gpl2+))) + (define-public lxqt-build-tools (package (name "lxqt-build-tools") |