Merge pull request #117696 from rmcgibbo/python3Packages.apptools
python3Packages.apptools: 4.5.0 -> 5.1.0
This commit is contained in:
commit
86ab658c57
@ -1,34 +1,35 @@
|
|||||||
{ lib, fetchPypi, buildPythonPackage, fetchpatch
|
{ lib, fetchPypi, buildPythonPackage
|
||||||
, configobj, six, traitsui
|
, configobj, six, traitsui
|
||||||
, nose, tables, pandas
|
, pytestCheckHook, tables, pandas
|
||||||
|
, pythonOlder, importlib-resources
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "apptools";
|
pname = "apptools";
|
||||||
version = "4.5.0";
|
version = "5.1.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "10h52ibhr2aw076pivqxiajr9rpcr1mancg6xlpxzckcm3if02i6";
|
sha256 = "12x5lcs1cllpybz7f0i1lcwvmqsaa5n818wb2165lj049wqxx4yh";
|
||||||
};
|
};
|
||||||
|
|
||||||
# PyTables issue; should be merged in next post-4.5.0 release (#117)
|
propagatedBuildInputs = [
|
||||||
patches = [ (fetchpatch {
|
configobj
|
||||||
url = "https://github.com/enthought/apptools/commit/3734289d1a0ebd8513fa67f75288add31ed0113c.patch";
|
six
|
||||||
sha256 = "001012q1ib5cbib3nq1alh9ckzj588bfrywr8brkd1f6y1pgvngk";
|
traitsui
|
||||||
})
|
] ++ lib.optionals (pythonOlder "3.9") [
|
||||||
|
importlib-resources
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [ configobj six traitsui ];
|
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
nose
|
|
||||||
tables
|
tables
|
||||||
pandas
|
pandas
|
||||||
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
doCheck = true;
|
preCheck = ''
|
||||||
checkPhase = "HOME=$TMP nosetests";
|
export HOME=$TMP
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Set of packages that Enthought has found useful in creating a number of applications.";
|
description = "Set of packages that Enthought has found useful in creating a number of applications.";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user