2020-09-09 01:12:19 +00:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub, isPy27, coloredlogs, property-manager, fasteners, pytestCheckHook, mock, virtualenv }:
|
2019-07-23 14:58:50 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "executor";
|
2020-09-09 01:12:19 +00:00
|
|
|
version = "23.1";
|
2020-08-29 18:05:43 +00:00
|
|
|
disabled = isPy27;
|
2019-07-23 14:58:50 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "xolox";
|
|
|
|
repo = "python-executor";
|
|
|
|
rev = version;
|
2020-09-09 01:12:19 +00:00
|
|
|
sha256 = "1jfmagw126di0qd82bydwvryqcxc54pqja3rbx3ny3fv1ahi5s7k";
|
2019-07-23 14:58:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ coloredlogs property-manager fasteners ];
|
|
|
|
|
2020-09-09 01:12:19 +00:00
|
|
|
checkInputs = [ pytestCheckHook mock virtualenv ];
|
2019-07-23 14:58:50 +00:00
|
|
|
|
|
|
|
# ignore impure tests
|
2020-09-09 01:12:19 +00:00
|
|
|
disabledTests = [
|
|
|
|
"option"
|
|
|
|
"retry"
|
|
|
|
"remote"
|
|
|
|
"ssh"
|
|
|
|
"foreach"
|
|
|
|
"local_context"
|
|
|
|
"release" # meant to be ran on ubuntu to succeed
|
|
|
|
];
|
2019-07-23 14:58:50 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Programmer friendly subprocess wrapper";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/xolox/python-executor";
|
2019-07-23 14:58:50 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ eyjhb ];
|
|
|
|
};
|
|
|
|
}
|