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}";
|
2017-02-19 11:55:45 +01:00
|
|
|
version = "0.3.3";
|
2016-10-03 23:45:16 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lxde";
|
|
|
|
repo = "libsysstat";
|
|
|
|
rev = version;
|
2017-02-19 11:55:45 +01:00
|
|
|
sha256 = "1rkbh6jj69wsf8a7w7cq8psqw08vqf9rq5pdnv4xxqb036r4bi31";
|
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";
|
|
|
|
homepage = https://github.com/lxde/libsysstat;
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|