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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
755 B
Nix
Raw Normal View History

{ stdenv
, lib
, mkDerivation
, fetchFromGitHub
, cmake
, qtbase
, lxqt-build-tools
, gitUpdater
}:
2016-10-03 23:45:16 +02:00
mkDerivation rec {
2019-02-06 00:13:14 +01:00
pname = "libsysstat";
2021-11-05 18:35:00 +01:00
version = "0.4.6";
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;
2021-11-05 18:35:00 +01:00
sha256 = "0z2r8041vqssm59lkb3ka7qis9br4wvavxzd45m3pnqlp7wwhkbn";
2016-10-03 23:45:16 +02:00
};
nativeBuildInputs = [
cmake
lxqt-build-tools
];
2016-10-03 23:45:16 +02:00
buildInputs = [
qtbase
];
2016-10-03 23:45:16 +02:00
passthru.updateScript = gitUpdater { };
meta = with lib; {
broken = stdenv.isDarwin;
2016-10-03 23:45:16 +02:00
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;
2022-04-14 15:52:15 +02:00
maintainers = teams.lxqt.members;
2016-10-03 23:45:16 +02:00
};
}