2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-28 16:45:59 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pbr
|
2020-06-15 17:56:24 +01:00
|
|
|
, isPy3k
|
2018-10-28 16:45:59 +00:00
|
|
|
}:
|
|
|
|
|
2020-11-07 14:36:46 +00:00
|
|
|
buildPythonPackage rec {
|
2018-10-28 16:45:59 +00:00
|
|
|
pname = "linecache2";
|
|
|
|
version = "1.0.0";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "0z79g3ds5wk2lvnqw0y2jpakjf32h95bd9zmnvp7dnqhf57gy9jb";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pbr ];
|
|
|
|
# circular dependencies for tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-28 16:45:59 +00:00
|
|
|
description = "A backport of linecache to older supported Pythons";
|
|
|
|
homepage = "https://github.com/testing-cabal/linecache2";
|
|
|
|
license = licenses.psfl;
|
|
|
|
};
|
2020-11-07 14:36:46 +00:00
|
|
|
}
|