Files
2026-08-06 21:03:48 +02:00

41 lines
918 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
psutil,
setuptools_80,
}:
buildPythonPackage rec {
pname = "command-runner";
version = "1.7.6";
pyproject = true;
src = fetchFromGitHub {
owner = "netinvent";
repo = "command_runner";
tag = "v${version}";
hash = "sha256-/xfpvEU3yWWXz+xsntht9NY3kUenc7S1Sw8hRZbM/fQ=";
};
build-system = [ setuptools_80 ];
dependencies = [ psutil ];
# Tests are execute ping
# ping: socket: Operation not permitted
doCheck = false;
pythonImportsCheck = [ "command_runner" ];
meta = {
homepage = "https://github.com/netinvent/command_runner";
description = ''
Platform agnostic command execution, timed background jobs with live
stdout/stderr output capture, and UAC/sudo elevation
'';
changelog = "https://github.com/netinvent/command_runner/releases/tag/${src.tag}";
license = lib.licenses.bsd3;
};
}