1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 psutil, 6 pytestCheckHook, 7 pythonOlder, 8 setuptools, 9}: 10 11buildPythonPackage rec { 12 pname = "command-runner"; 13 version = "1.6.0"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchFromGitHub { 19 owner = "netinvent"; 20 repo = "command_runner"; 21 rev = "refs/tags/v${version}"; 22 hash = "sha256-QzqkcF2/YExK/dz+b0Uk0Af/rAXRMuRIeEynyFgDql8="; 23 }; 24 25 build-system = [ setuptools ]; 26 27 dependencies = [ psutil ]; 28 29 # Tests are execute ping 30 # ping: socket: Operation not permitted 31 doCheck = false; 32 33 pythonImportsCheck = [ "command_runner" ]; 34 35 meta = with lib; { 36 homepage = "https://github.com/netinvent/command_runner"; 37 description = '' 38 Platform agnostic command execution, timed background jobs with live 39 stdout/stderr output capture, and UAC/sudo elevation 40 ''; 41 changelog = "https://github.com/netinvent/command_runner/releases/tag/v${version}"; 42 license = licenses.bsd3; 43 maintainers = teams.wdz.members; 44 }; 45}