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