2020-04-13 17:32:37 +01:00
|
|
|
{ lib, fetchPypi, buildPythonPackage, fetchpatch
|
2020-04-09 17:22:12 +01:00
|
|
|
, configobj, six, traitsui
|
2019-01-31 21:36:33 +00:00
|
|
|
, nose, tables, pandas
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "apptools";
|
2020-04-09 17:22:12 +01:00
|
|
|
version = "4.5.0";
|
2019-01-31 21:36:33 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-04-09 17:22:12 +01:00
|
|
|
sha256 = "10h52ibhr2aw076pivqxiajr9rpcr1mancg6xlpxzckcm3if02i6";
|
2019-01-31 21:36:33 +00:00
|
|
|
};
|
|
|
|
|
2020-04-13 17:32:37 +01:00
|
|
|
# PyTables issue; should be merged in next post-4.5.0 release (#117)
|
|
|
|
patches = [ (fetchpatch {
|
|
|
|
url = "https://github.com/enthought/apptools/commit/3734289d1a0ebd8513fa67f75288add31ed0113c.patch";
|
|
|
|
sha256 = "001012q1ib5cbib3nq1alh9ckzj588bfrywr8brkd1f6y1pgvngk";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2020-04-09 17:22:12 +01:00
|
|
|
propagatedBuildInputs = [ configobj six traitsui ];
|
2019-01-31 21:36:33 +00:00
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
nose
|
|
|
|
tables
|
|
|
|
pandas
|
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = true;
|
2021-01-24 09:19:10 +00:00
|
|
|
checkPhase = "HOME=$TMP nosetests";
|
2019-01-31 21:36:33 +00:00
|
|
|
|
2020-04-09 17:22:12 +01: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.";
|
2020-04-09 17:22:12 +01:00
|
|
|
homepage = "https://github.com/enthought/apptools";
|
|
|
|
maintainers = with maintainers; [ knedlsepp ];
|
2019-01-31 21:36:33 +00:00
|
|
|
license = licenses.bsdOriginal;
|
|
|
|
};
|
|
|
|
}
|