2022-01-13 09:14:22 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, configobj
|
|
|
|
, fetchPypi
|
|
|
|
, importlib-resources
|
|
|
|
, pandas
|
|
|
|
, pytestCheckHook
|
|
|
|
, pythonOlder
|
|
|
|
, tables
|
|
|
|
, traits
|
|
|
|
, traitsui
|
2019-01-31 21:36:33 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "apptools";
|
2023-08-26 08:32:52 +00:00
|
|
|
version = "5.2.1";
|
2022-01-13 09:14:22 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2019-01-31 21:36:33 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-08-26 08:32:52 +00:00
|
|
|
hash = "sha256-xiaPXfzzCIvK92oAA+ULd3TQG1JY1xmbQQtIUv8iRuM=";
|
2019-01-31 21:36:33 +00:00
|
|
|
};
|
|
|
|
|
2021-03-26 13:50:31 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
configobj
|
2022-01-13 09:14:22 +00:00
|
|
|
traits
|
2021-03-26 13:50:31 +00:00
|
|
|
traitsui
|
2021-03-26 18:37:13 +00:00
|
|
|
] ++ lib.optionals (pythonOlder "3.9") [
|
2021-03-26 13:50:31 +00:00
|
|
|
importlib-resources
|
2020-04-13 16:32:37 +00:00
|
|
|
];
|
|
|
|
|
2023-01-21 12:00:00 +00:00
|
|
|
nativeCheckInputs = [
|
2019-01-31 21:36:33 +00:00
|
|
|
tables
|
|
|
|
pandas
|
2021-03-26 13:50:31 +00:00
|
|
|
pytestCheckHook
|
2019-01-31 21:36:33 +00:00
|
|
|
];
|
|
|
|
|
2021-03-26 13:50:31 +00:00
|
|
|
preCheck = ''
|
|
|
|
export HOME=$TMP
|
|
|
|
'';
|
2019-01-31 21:36:33 +00:00
|
|
|
|
2022-01-13 09:14:22 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"apptools"
|
|
|
|
];
|
|
|
|
|
2020-04-09 16:22:12 +00:00
|
|
|
meta = with lib; {
|
2022-01-13 09:14:22 +00:00
|
|
|
description = "Set of packages that Enthought has found useful in creating a number of applications";
|
2020-04-09 16:22:12 +00:00
|
|
|
homepage = "https://github.com/enthought/apptools";
|
2023-08-26 08:29:21 +00:00
|
|
|
changelog = "https://github.com/enthought/apptools/releases/tag/${version}";
|
2019-01-31 21:36:33 +00:00
|
|
|
license = licenses.bsdOriginal;
|
2022-01-13 09:14:22 +00:00
|
|
|
maintainers = with maintainers; [ knedlsepp ];
|
2019-01-31 21:36:33 +00:00
|
|
|
};
|
|
|
|
}
|