python313Packages.executor: disable on python 313

wxt a896fd01 bf5ace02

+15 -8
+15 -8
pkgs/development/python-modules/executor/default.nix
··· 2 2 lib, 3 3 buildPythonPackage, 4 4 fetchFromGitHub, 5 + setuptools, 5 6 isPy27, 7 + pythonAtLeast, 6 8 coloredlogs, 7 9 humanfriendly, 8 10 property-manager, ··· 16 18 buildPythonPackage rec { 17 19 pname = "executor"; 18 20 version = "23.2"; 19 - format = "setuptools"; 20 - disabled = isPy27; 21 + 22 + # pipes is removed in python 3.13 23 + disabled = isPy27 || pythonAtLeast "3.13"; 21 24 22 25 src = fetchFromGitHub { 23 26 owner = "xolox"; 24 27 repo = "python-executor"; 25 - rev = version; 26 - sha256 = "1mr0662c5l5zx0wjapcprp8p2xawfd0im3616df5sgv79fqzwfqs"; 28 + tag = version; 29 + hash = "sha256-Gjv+sUtnP11cM8GMGkFzXHVx0c2XXSU56L/QwoQxINc="; 27 30 }; 28 31 29 - propagatedBuildInputs = [ 32 + build-system = [ 33 + setuptools 34 + ]; 35 + 36 + dependencies = [ 30 37 coloredlogs 31 38 humanfriendly 32 39 property-manager ··· 51 58 "release" # meant to be ran on ubuntu to succeed 52 59 ]; 53 60 54 - meta = with lib; { 61 + meta = { 55 62 changelog = "https://github.com/xolox/python-executor/blob/${version}/CHANGELOG.rst"; 56 63 description = "Programmer friendly subprocess wrapper"; 57 64 mainProgram = "executor"; 58 65 homepage = "https://github.com/xolox/python-executor"; 59 - license = licenses.mit; 60 - maintainers = with maintainers; [ eyjhb ]; 66 + license = lib.licenses.mit; 67 + maintainers = with lib.maintainers; [ eyjhb ]; 61 68 }; 62 69 }