2022-05-29 04:43:45 -04:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
2020-04-25 13:01:05 -04:00
|
|
|
, mkDerivation
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, qtbase
|
|
|
|
, lxqt-build-tools
|
2020-04-26 10:53:59 -04:00
|
|
|
, lxqtUpdateScript
|
2020-04-25 13:01:05 -04:00
|
|
|
}:
|
2016-10-03 17:45:16 -04:00
|
|
|
|
2019-07-27 17:05:17 -04:00
|
|
|
mkDerivation rec {
|
2019-02-05 18:13:14 -05:00
|
|
|
pname = "libsysstat";
|
2021-11-05 13:35:00 -04:00
|
|
|
version = "0.4.6";
|
2016-10-03 17:45:16 -04:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2018-05-21 21:24:38 -04:00
|
|
|
owner = "lxqt";
|
2019-02-05 18:13:14 -05:00
|
|
|
repo = pname;
|
2016-10-03 17:45:16 -04:00
|
|
|
rev = version;
|
2021-11-05 13:35:00 -04:00
|
|
|
sha256 = "0z2r8041vqssm59lkb3ka7qis9br4wvavxzd45m3pnqlp7wwhkbn";
|
2016-10-03 17:45:16 -04:00
|
|
|
};
|
|
|
|
|
2020-04-25 13:01:05 -04:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
lxqt-build-tools
|
|
|
|
];
|
2016-10-03 17:45:16 -04:00
|
|
|
|
2020-04-25 13:01:05 -04:00
|
|
|
buildInputs = [
|
|
|
|
qtbase
|
|
|
|
];
|
2016-10-03 17:45:16 -04:00
|
|
|
|
2020-04-26 10:53:59 -04:00
|
|
|
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
|
|
|
|
|
2019-07-27 17:05:17 -04:00
|
|
|
meta = with lib; {
|
2022-05-29 04:43:45 -04:00
|
|
|
broken = stdenv.isDarwin;
|
2016-10-03 17:45:16 -04:00
|
|
|
description = "Library used to query system info and statistics";
|
2020-03-31 21:11:51 -04:00
|
|
|
homepage = "https://github.com/lxqt/libsysstat";
|
2016-10-03 17:45:16 -04:00
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
platforms = with platforms; unix;
|
2022-04-14 09:52:15 -04:00
|
|
|
maintainers = teams.lxqt.members;
|
2016-10-03 17:45:16 -04:00
|
|
|
};
|
|
|
|
}
|