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-11-02 02:51:28 +01:00
|
|
|
version = "0.4.0";
|
2016-10-03 23:45:16 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lxde";
|
|
|
|
repo = "libsysstat";
|
|
|
|
rev = version;
|
2017-11-02 02:51:28 +01:00
|
|
|
sha256 = "0yl20dj553z1ijkfxl9n45qvkzxyl9rqw12vb4v6zj3ch6hzbzsx";
|
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
|
|
|
};
|
|
|
|
}
|