2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-28 16:41:46 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pbr
|
|
|
|
, linecache2
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
version = "1.4.0";
|
|
|
|
pname = "traceback2";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "0c1h3jas1jp1fdbn9z2mrgn3jj0hw1x3yhnkxp7jw34q15xcdb05";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pbr linecache2 ];
|
|
|
|
|
|
|
|
# circular dependencies for tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-28 16:41:46 +00:00
|
|
|
description = "A backport of traceback to older supported Pythons";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://pypi.python.org/pypi/traceback2/";
|
2018-10-28 16:41:46 +00:00
|
|
|
license = licenses.psfl;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|