2020-04-25 19:01:05 +02:00
|
|
|
{ lib
|
|
|
|
, mkDerivation
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, qtbase
|
|
|
|
, lxqt-build-tools
|
2020-04-26 16:53:59 +02:00
|
|
|
, lxqtUpdateScript
|
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-04-16 22:32:40 +02:00
|
|
|
version = "0.4.5";
|
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-04-16 22:32:40 +02:00
|
|
|
sha256 = "14q55iayygmjh63zgsb9qa4af766gj9b0jsrmfn85fdiqb8p8yfz";
|
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
|
|
|
|
2020-04-26 16:53:59 +02:00
|
|
|
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
|
|
|
|
|
2019-07-27 23:05:17 +02:00
|
|
|
meta = with lib; {
|
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;
|
2017-02-19 11:55:45 +01:00
|
|
|
maintainers = with maintainers; [ romildo ];
|
2016-10-03 23:45:16 +02:00
|
|
|
};
|
|
|
|
}
|