Gaetan Lepage 2024-06-29 18:10:33 +02:00
parent 43f06ccf4c
commit 55211c178c

View File

@ -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";
};
}