16 buildPythonPackage rec {
19 format = "setuptools";
21 disabled = pythonOlder "3.7";
24 inherit pname version;
25 sha256 = "12x5lcs1cllpybz7f0i1lcwvmqsaa5n818wb2165lj049wqxx4yh";
29 # python310: Fix tests
30 # https://github.com/enthought/apptools/issues/303
32 url = "https://github.com/enthought/apptools/commit/10fb73916124f7ae7edf6c6688a05ad95678488f.patch";
33 sha256 = "sha256-izAcP5RWobLvnk2PQx31SX/TUGkw+prbYbjamYVmtjY=";
34 name = "fix_python310_tests.patch";
37 # python39: importlib_resources -> importlib.resources. This patch will be included
38 # in the next release after 5.1.0.
40 url = "https://github.com/enthought/apptools/commit/0ae4f52f19a8c0ca9d7926e17c7de949097f24b4.patch";
41 sha256 = "165aiwjisr5c3lasg7xblcha7y1y5bq23vi3g9gc80c24bzwcbsw";
42 name = "fix_importlib-resources_naming.patch";
46 propagatedBuildInputs = [
50 ] ++ lib.optionals (pythonOlder "3.9") [
64 pythonImportsCheck = [
69 description = "Set of packages that Enthought has found useful in creating a number of applications";
70 homepage = "https://github.com/enthought/apptools";
71 license = licenses.bsdOriginal;
72 maintainers = with maintainers; [ knedlsepp ];