2017-02-19 11:55:45 +01:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, qt5, lxqt }:
|
2016-10-03 23:45:16 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libsysstat-${version}";
|
2018-06-24 05:41:31 +02:00
|
|
|
version = "0.4.1";
|
2016-10-03 23:45:16 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2018-05-22 03:24:38 +02:00
|
|
|
owner = "lxqt";
|
2016-10-03 23:45:16 +02:00
|
|
|
repo = "libsysstat";
|
|
|
|
rev = version;
|
2018-06-24 05:41:31 +02:00
|
|
|
sha256 = "0ad5pcr5lq1hvrfijvddvz2fvsmh1phb54wb0f756av0kyiwq0gb";
|
2016-10-03 23:45:16 +02:00
|
|
|
};
|
|
|
|
|
2017-02-19 11:55:45 +01:00
|
|
|
nativeBuildInputs = [ cmake lxqt.lxqt-build-tools ];
|
2016-10-03 23:45:16 +02:00
|
|
|
|
|
|
|
buildInputs = [ qt5.qtbase ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Library used to query system info and statistics";
|
2018-05-22 03:24:38 +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
|
|
|
};
|
|
|
|
}
|