gnu: Add libsysstat.

* gnu/packages/lxqt.scm (libsysstat): New variable.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
This commit is contained in:
Meiyo Peng 2018-10-18 18:54:29 +08:00 committed by 宋文武
parent fab3484657
commit fbe645eafa
No known key found for this signature in database
GPG Key ID: 26525665AE727D37
1 changed files with 23 additions and 0 deletions

View File

@ -171,6 +171,29 @@ to statistics about the system on which it's run.")
;; Libraries are under LGPL2.1+, and programs under GPLv2+. ;; Libraries are under LGPL2.1+, and programs under GPLv2+.
(license gpl2+))) (license gpl2+)))
(define-public libsysstat
(package
(name "libsysstat")
(version "0.4.1")
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/lxqt/" name "/releases/download/"
version "/" name "-" version ".tar.xz"))
(sha256
(base32 "0ngz8v3bixsdg96d5ipcyxd6nsrg52974xdxy9rnimahlv1yaxn3"))))
(build-system cmake-build-system)
(arguments '(#:tests? #f)) ; no tests
(inputs
`(("qtbase" ,qtbase)))
(native-inputs
`(("lxqt-build-tools" ,lxqt-build-tools)))
(home-page "https://lxqt.org/")
(synopsis "Library used to query system info and statistics")
(description "libsysstat is a library to query system information like CPU
and memory usage or network traffic.")
(license lgpl2.1+)))
(define-public lxqt-build-tools (define-public lxqt-build-tools
(package (package
(name "lxqt-build-tools") (name "lxqt-build-tools")