nixpkgs-suyu/pkgs/desktops/lxqt/libsysstat/default.nix

26 lines
651 B
Nix
Raw Normal View History

2019-02-06 00:13:14 +01:00
{ stdenv, fetchFromGitHub, cmake, qtbase, lxqt-build-tools }:
2016-10-03 23:45:16 +02:00
stdenv.mkDerivation rec {
2019-02-06 00:13:14 +01:00
pname = "libsysstat";
version = "0.4.2";
2016-10-03 23:45:16 +02:00
src = fetchFromGitHub {
owner = "lxqt";
2019-02-06 00:13:14 +01:00
repo = pname;
2016-10-03 23:45:16 +02:00
rev = version;
2019-02-06 00:13:14 +01:00
sha256 = "10h9n7km7yx8bnmzxi4nn1yqq03hizjkrx4745j0mczy7niiffsz";
2016-10-03 23:45:16 +02:00
};
2019-02-06 00:13:14 +01:00
nativeBuildInputs = [ cmake lxqt-build-tools ];
2016-10-03 23:45:16 +02:00
2019-02-06 00:13:14 +01:00
buildInputs = [ qtbase ];
2016-10-03 23:45:16 +02:00
meta = with stdenv.lib; {
description = "Library used to query system info and statistics";
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
};
}