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