mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 10:16:44 +01:00
29 lines
557 B
Nix
29 lines
557 B
Nix
{ stdenv
|
|
, 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;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A backport of traceback to older supported Pythons";
|
|
homepage = "https://pypi.python.org/pypi/traceback2/";
|
|
license = licenses.psfl;
|
|
};
|
|
|
|
}
|