about summary refs log tree commit diff
path: root/pkgs/tools/misc
diff options
context:
space:
mode:
authorPol Dellaiera <pol.dellaiera@protonmail.com>2024-06-29 20:00:14 +0200
committerGitHub <noreply@github.com>2024-06-29 20:00:14 +0200
commit65ed2124aef44dd53a63c631e41c0586033b51b8 (patch)
treec425ab27374396bbb086fb43f50eb2c9146c52f5 /pkgs/tools/misc
parent449990d8d18188f4af5eab9e0470af8545a3e149 (diff)
parent55211c178c7a0478cb0205261a92ce094564fb0d (diff)
Merge pull request #323408 from GaetanLepage/mprocs
mprocs: 0.7.0 -> 0.7.1
Diffstat (limited to 'pkgs/tools/misc')
-rw-r--r--pkgs/tools/misc/mprocs/default.nix14
1 files changed, 10 insertions, 4 deletions
diff --git a/pkgs/tools/misc/mprocs/default.nix b/pkgs/tools/misc/mprocs/default.nix
index 0da79da2a0990..d7b9a44290fa9 100644
--- a/pkgs/tools/misc/mprocs/default.nix
+++ b/pkgs/tools/misc/mprocs/default.nix
@@ -1,17 +1,22 @@
-{ lib, fetchFromGitHub, rustPlatform }:
+{ lib, fetchFromGitHub, rustPlatform, nix-update-script, testers, mprocs }:
 
 rustPlatform.buildRustPackage rec {
   pname = "mprocs";
-  version = "0.7.0";
+  version = "0.7.1";
 
   src = fetchFromGitHub {
     owner = "pvolok";
     repo = "mprocs";
     rev = "refs/tags/v${version}";
-    sha256 = "sha256-e15SzlX8CHzWOF4UnPybqYHELuT2vZ+4mkbz413WDr4=";
+    sha256 = "sha256-gK2kgc0Y0s1xys+pUadi8BhGeYxtyKRhNycCoqftmDI=";
   };
 
-  cargoHash = "sha256-UZvXoD70f5QHTW9Xr8tRms1wqV9/dpN/u3Mv7/gwyZ4=";
+  cargoHash = "sha256-lcs+x2devOEZg5YwAzlZKJl6VpCJXzVqNUr6N5pCei8=";
+
+  passthru = {
+    updateScript = nix-update-script { };
+    tests.version = testers.testVersion { package = mprocs; };
+  };
 
   meta = {
     description = "TUI tool to run multiple commands in parallel and show the output of each command separately";
@@ -19,6 +24,7 @@ rustPlatform.buildRustPackage rec {
     changelog = "https://github.com/pvolok/mprocs/releases/tag/v${version}";
     license = lib.licenses.mit;
     maintainers = with lib.maintainers; [ GaetanLepage pyrox0 ];
+    platforms = lib.platforms.unix;
     mainProgram = "mprocs";
   };
 }