2021-03-20 04:20:00 +00:00
|
|
|
{ lib, fetchPypi, buildPythonPackage
|
2020-04-24 23:36:52 +00:00
|
|
|
, configobj, six, traitsui
|
2021-03-20 04:20:00 +00:00
|
|
|
, pytestCheckHook, tables, pandas
|
|
|
|
, pythonOlder, importlib-resources
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "apptools";
|
2021-03-20 04:20:00 +00:00
|
|
|
version = "5.1.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-20 04:20:00 +00:00
|
|
|
sha256 = "12x5lcs1cllpybz7f0i1lcwvmqsaa5n818wb2165lj049wqxx4yh";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-03-20 04:20:00 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
configobj
|
|
|
|
six
|
|
|
|
traitsui
|
|
|
|
] ++ lib.optionals (pythonOlder "3.9") [
|
|
|
|
importlib-resources
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
tables
|
|
|
|
pandas
|
2021-03-20 04:20:00 +00:00
|
|
|
pytestCheckHook
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2021-03-20 04:20:00 +00:00
|
|
|
preCheck = ''
|
|
|
|
export HOME=$TMP
|
|
|
|
'';
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Set of packages that Enthought has found useful in creating a number of applications.";
|
|
|
|
homepage = "https://github.com/enthought/apptools";
|
|
|
|
maintainers = with maintainers; [ knedlsepp ];
|
|
|
|
license = licenses.bsdOriginal;
|
|
|
|
};
|
|
|
|
}
|