about summary refs log tree commit diff
path: root/nixpkgs/pkgs/desktops/lxqt/libsysstat/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/desktops/lxqt/libsysstat/default.nix')
-rw-r--r--nixpkgs/pkgs/desktops/lxqt/libsysstat/default.nix39
1 files changed, 39 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/desktops/lxqt/libsysstat/default.nix b/nixpkgs/pkgs/desktops/lxqt/libsysstat/default.nix
new file mode 100644
index 000000000000..bd5b6679259d
--- /dev/null
+++ b/nixpkgs/pkgs/desktops/lxqt/libsysstat/default.nix
@@ -0,0 +1,39 @@
+{ 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; {
+    description = "Library used to query system info and statistics";
+    homepage = "https://github.com/lxqt/libsysstat";
+    license = licenses.lgpl21Plus;
+    platforms = with platforms; unix;
+    maintainers = with maintainers; [ romildo ];
+  };
+}