2023-01-20 10:41:00 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, isPy27
|
|
|
|
, coloredlogs
|
|
|
|
, humanfriendly
|
|
|
|
, property-manager
|
|
|
|
, fasteners
|
|
|
|
, six
|
|
|
|
, pytestCheckHook
|
|
|
|
, mock
|
|
|
|
, virtualenv
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "executor";
|
2020-11-30 08:33:03 +00:00
|
|
|
version = "23.2";
|
2023-01-20 10:41:00 +00:00
|
|
|
format = "setuptools";
|
2020-09-25 04:45:31 +00:00
|
|
|
disabled = isPy27;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "xolox";
|
|
|
|
repo = "python-executor";
|
|
|
|
rev = version;
|
2020-11-30 08:33:03 +00:00
|
|
|
sha256 = "1mr0662c5l5zx0wjapcprp8p2xawfd0im3616df5sgv79fqzwfqs";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-01-20 10:41:00 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
coloredlogs
|
|
|
|
humanfriendly
|
|
|
|
property-manager
|
|
|
|
fasteners
|
|
|
|
six
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2023-01-20 10:41:00 +00:00
|
|
|
pytestCheckHook
|
|
|
|
mock
|
|
|
|
virtualenv
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# ignore impure tests
|
2020-09-25 04:45:31 +00:00
|
|
|
disabledTests = [
|
|
|
|
"option"
|
|
|
|
"retry"
|
|
|
|
"remote"
|
|
|
|
"ssh"
|
|
|
|
"foreach"
|
|
|
|
"local_context"
|
|
|
|
"release" # meant to be ran on ubuntu to succeed
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2023-01-20 10:41:00 +00:00
|
|
|
changelog = "https://github.com/xolox/python-executor/blob/${version}/CHANGELOG.rst";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Programmer friendly subprocess wrapper";
|
|
|
|
homepage = "https://github.com/xolox/python-executor";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ eyjhb ];
|
|
|
|
};
|
|
|
|
}
|