3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/apptools/default.nix

41 lines
852 B
Nix
Raw Normal View History

{ lib, fetchPypi, buildPythonPackage
, configobj, six, traitsui
, pytestCheckHook, tables, pandas
, pythonOlder, importlib-resources
2019-01-31 21:36:33 +00:00
}:
buildPythonPackage rec {
pname = "apptools";
version = "5.1.0";
2019-01-31 21:36:33 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "12x5lcs1cllpybz7f0i1lcwvmqsaa5n818wb2165lj049wqxx4yh";
2019-01-31 21:36:33 +00:00
};
propagatedBuildInputs = [
configobj
six
traitsui
] ++ lib.optionals (pythonOlder "3.9") [
importlib-resources
2020-04-13 17:32:37 +01:00
];
2019-01-31 21:36:33 +00:00
checkInputs = [
tables
pandas
pytestCheckHook
2019-01-31 21:36:33 +00:00
];
preCheck = ''
export HOME=$TMP
'';
2019-01-31 21:36:33 +00:00
meta = with lib; {
2019-01-31 21:36:33 +00:00
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 ];
2019-01-31 21:36:33 +00:00
license = licenses.bsdOriginal;
};
}