2019-07-27 21:05:17 +00:00
|
|
|
{ lib, mkDerivation, fetchFromGitHub, cmake, qtbase, lxqt-build-tools }:
|
2016-10-03 21:45:16 +00:00
|
|
|
|
2019-07-27 21:05:17 +00:00
|
|
|
mkDerivation rec {
|
2019-02-05 23:13:14 +00:00
|
|
|
pname = "libsysstat";
|
|
|
|
version = "0.4.2";
|
2016-10-03 21:45:16 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2018-05-22 01:24:38 +00:00
|
|
|
owner = "lxqt";
|
2019-02-05 23:13:14 +00:00
|
|
|
repo = pname;
|
2016-10-03 21:45:16 +00:00
|
|
|
rev = version;
|
2019-02-05 23:13:14 +00:00
|
|
|
sha256 = "10h9n7km7yx8bnmzxi4nn1yqq03hizjkrx4745j0mczy7niiffsz";
|
2016-10-03 21:45:16 +00:00
|
|
|
};
|
|
|
|
|
2019-02-05 23:13:14 +00:00
|
|
|
nativeBuildInputs = [ cmake lxqt-build-tools ];
|
2016-10-03 21:45:16 +00:00
|
|
|
|
2019-02-05 23:13:14 +00:00
|
|
|
buildInputs = [ qtbase ];
|
2016-10-03 21:45:16 +00:00
|
|
|
|
2019-07-27 21:05:17 +00:00
|
|
|
meta = with lib; {
|
2016-10-03 21:45:16 +00:00
|
|
|
description = "Library used to query system info and statistics";
|
2018-05-22 01:24:38 +00:00
|
|
|
homepage = https://github.com/lxqt/libsysstat;
|
2016-10-03 21:45:16 +00:00
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
platforms = with platforms; unix;
|
2017-02-19 10:55:45 +00:00
|
|
|
maintainers = with maintainers; [ romildo ];
|
2016-10-03 21:45:16 +00:00
|
|
|
};
|
|
|
|
}
|