1{ lib, buildPythonPackage, fetchFromGitHub, isPy27, coloredlogs, property-manager, fasteners, pytestCheckHook, mock, virtualenv }: 2 3buildPythonPackage rec { 4 pname = "executor"; 5 version = "23.2"; 6 disabled = isPy27; 7 8 src = fetchFromGitHub { 9 owner = "xolox"; 10 repo = "python-executor"; 11 rev = version; 12 sha256 = "1mr0662c5l5zx0wjapcprp8p2xawfd0im3616df5sgv79fqzwfqs"; 13 }; 14 15 propagatedBuildInputs = [ coloredlogs property-manager fasteners ]; 16 17 checkInputs = [ pytestCheckHook mock virtualenv ]; 18 19 # ignore impure tests 20 disabledTests = [ 21 "option" 22 "retry" 23 "remote" 24 "ssh" 25 "foreach" 26 "local_context" 27 "release" # meant to be ran on ubuntu to succeed 28 ]; 29 30 meta = with lib; { 31 description = "Programmer friendly subprocess wrapper"; 32 homepage = "https://github.com/xolox/python-executor"; 33 license = licenses.mit; 34 maintainers = with maintainers; [ eyjhb ]; 35 }; 36}