commit cbafbe3ddfcae74dc9852a46e38a466198970ef5
parent f61406cc9205c20ff0a56042b92b64fb698a68e9
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date: Sat, 27 Sep 2025 22:25:32 +0400
Add px
Diffstat:
2 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/pkgs/default.nix b/pkgs/default.nix
@@ -393,6 +393,7 @@ lib.makeScope newScope (
plotjuggler = libsForQt5.callPackage ./misc/plotjuggler { };
pnoise = callPackage ./misc/pnoise { };
ptunnel = callPackage ./misc/ptunnel { };
+ px = callPackage ./misc/px { };
qdia = callPackage ./misc/qdia { };
qoiview = callPackage ./misc/qoiview { };
qstudio = callPackage ./misc/qstudio { };
diff --git a/pkgs/misc/px/default.nix b/pkgs/misc/px/default.nix
@@ -0,0 +1,27 @@
+{
+ lib,
+ fetchFromGitHub,
+ python3Packages,
+}:
+
+python3Packages.buildPythonApplication rec {
+ pname = "px";
+ version = "3.8.0";
+ pyproject = true;
+
+ src = fetchFromGitHub {
+ owner = "walles";
+ repo = "px";
+ tag = version;
+ hash = "sha256-cCTaDs/BYmL6Ql3kAzCk169M7JqenXeLhwsG1ErE2DI=";
+ };
+
+ build-system = with python3Packages; [ setuptools-scm ];
+
+ meta = {
+ description = "ps, top and pstree for human beings";
+ homepage = "https://github.com/walles/px";
+ license = lib.licenses.mit;
+ maintainers = [ lib.maintainers.sikmir ];
+ };
+}