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