depot/third_party/nixpkgs/pkgs/desktops/lxqt/libsysstat/default.nix
Default email 3a4df29a92 Project import generated by Copybara.
GitOrigin-RevId: 3d7435c638baffaa826b85459df0fff47f12317d
2022-06-16 19:23:12 +02:00

41 lines
794 B
Nix

{ stdenv
, lib
, mkDerivation
, fetchFromGitHub
, cmake
, qtbase
, lxqt-build-tools
, lxqtUpdateScript
}:
mkDerivation rec {
pname = "libsysstat";
version = "0.4.6";
src = fetchFromGitHub {
owner = "lxqt";
repo = pname;
rev = version;
sha256 = "0z2r8041vqssm59lkb3ka7qis9br4wvavxzd45m3pnqlp7wwhkbn";
};
nativeBuildInputs = [
cmake
lxqt-build-tools
];
buildInputs = [
qtbase
];
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
meta = with lib; {
broken = stdenv.isDarwin;
description = "Library used to query system info and statistics";
homepage = "https://github.com/lxqt/libsysstat";
license = licenses.lgpl21Plus;
platforms = with platforms; unix;
maintainers = teams.lxqt.members;
};
}