Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
71 lines
1.3 KiB
Nix
71 lines
1.3 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
isPy27,
|
|
pythonAtLeast,
|
|
coloredlogs,
|
|
humanfriendly,
|
|
property-manager,
|
|
fasteners,
|
|
six,
|
|
pytestCheckHook,
|
|
mock,
|
|
virtualenv,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "executor";
|
|
version = "23.2";
|
|
format = "setuptools";
|
|
|
|
# pipes is removed in python 3.13
|
|
disabled = isPy27 || pythonAtLeast "3.13";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "xolox";
|
|
repo = "python-executor";
|
|
tag = version;
|
|
hash = "sha256-Gjv+sUtnP11cM8GMGkFzXHVx0c2XXSU56L/QwoQxINc=";
|
|
};
|
|
|
|
build-system = [
|
|
setuptools
|
|
];
|
|
|
|
dependencies = [
|
|
coloredlogs
|
|
humanfriendly
|
|
property-manager
|
|
fasteners
|
|
six
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
mock
|
|
virtualenv
|
|
];
|
|
|
|
# ignore impure tests
|
|
disabledTests = [
|
|
"option"
|
|
"retry"
|
|
"remote"
|
|
"ssh"
|
|
"foreach"
|
|
"local_context"
|
|
"release" # meant to be ran on ubuntu to succeed
|
|
];
|
|
|
|
meta = {
|
|
changelog = "https://github.com/xolox/python-executor/blob/${version}/CHANGELOG.rst";
|
|
description = "Programmer friendly subprocess wrapper";
|
|
mainProgram = "executor";
|
|
homepage = "https://github.com/xolox/python-executor";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ eyjhb ];
|
|
};
|
|
}
|