about summary refs log tree commit diff
path: root/pkgs/by-name/xo
diff options
context:
space:
mode:
authorAnderson Torres <torres.anderson.85@protonmail.com>2023-11-03 17:52:45 -0300
committerAnderson Torres <torres.anderson.85@protonmail.com>2023-11-06 07:23:09 -0300
commitbbb40f1705905ce0abaff24a721e0b44a7bae550 (patch)
tree8ac57cbad119a46b0cffa6b26ef3f1ba787e4605 /pkgs/by-name/xo
parent235bc12b4f4c88d7c472ad5f052499bee9a00826 (diff)
xosview2: migrate to by-name
Diffstat (limited to 'pkgs/by-name/xo')
-rw-r--r--pkgs/by-name/xo/xosview2/package.nix42
1 files changed, 42 insertions, 0 deletions
diff --git a/pkgs/by-name/xo/xosview2/package.nix b/pkgs/by-name/xo/xosview2/package.nix
new file mode 100644
index 0000000000000..bd4234bae1904
--- /dev/null
+++ b/pkgs/by-name/xo/xosview2/package.nix
@@ -0,0 +1,42 @@
+{ lib
+, stdenv
+, fetchurl
+, libX11
+}:
+
+stdenv.mkDerivation (finalAttrs: {
+  pname = "xosview2";
+  version = "2.3.2";
+
+  src = fetchurl {
+    url = "mirror://sourceforge/xosview/${finalAttrs.pname}-${finalAttrs.version}.tar.gz";
+    hash = "sha256-ex1GDBgx9Zzx5tOkZ2IRYskmBh/bUYpRTXHWRoE30vA=";
+  };
+
+  buildInputs = [ libX11 ];
+
+  meta = with lib; {
+    homepage = "https://xosview.sourceforge.net/index.html";
+    description = "Lightweight graphical operating system monitor";
+    longDescription = ''
+      xosview is a lightweight program that gathers information from your
+      operating system and displays it in graphical form. It attempts to show
+      you in a quick glance an overview of how your system resources are being
+      utilized.
+
+      It can be configured to be nothing more than a small strip showing a
+      couple of parameters on a desktop task bar. Or it can display dozens of
+      meters and rolling graphical charts over your entire screen.
+
+      Since xosview renders all graphics with core X11 drawing methods, you can
+      run it on one machine and display it on another. This works even if your
+      other host is an operating system not running an X server inside a
+      virtual machine running on a physically different host. If you can
+      connect to it on a network, then you can popup an xosview instance and
+      monitor what is going on.
+    '';
+    license = with licenses; [ gpl2 bsdOriginal ];
+    maintainers = with maintainers; [ AndersonTorres ];
+    platforms = platforms.all;
+  };
+})