1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-05 03:53:41 +00:00
nixpkgs/pkgs/desktops/lxqt/libsysstat/default.nix

40 lines
766 B
Nix
Raw Normal View History

{ lib
, mkDerivation
, fetchFromGitHub
, cmake
, qtbase
, lxqt-build-tools
, lxqtUpdateScript
}:
2016-10-03 22:45:16 +01:00
mkDerivation rec {
2019-02-05 23:13:14 +00:00
pname = "libsysstat";
2021-04-16 21:32:40 +01:00
version = "0.4.5";
2016-10-03 22:45:16 +01:00
src = fetchFromGitHub {
owner = "lxqt";
2019-02-05 23:13:14 +00:00
repo = pname;
2016-10-03 22:45:16 +01:00
rev = version;
2021-04-16 21:32:40 +01:00
sha256 = "14q55iayygmjh63zgsb9qa4af766gj9b0jsrmfn85fdiqb8p8yfz";
2016-10-03 22:45:16 +01:00
};
nativeBuildInputs = [
cmake
lxqt-build-tools
];
2016-10-03 22:45:16 +01:00
buildInputs = [
qtbase
];
2016-10-03 22:45:16 +01:00
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
meta = with lib; {
2016-10-03 22:45:16 +01:00
description = "Library used to query system info and statistics";
homepage = "https://github.com/lxqt/libsysstat";
2016-10-03 22:45:16 +01:00
license = licenses.lgpl21Plus;
platforms = with platforms; unix;
2017-02-19 10:55:45 +00:00
maintainers = with maintainers; [ romildo ];
2016-10-03 22:45:16 +01:00
};
}