2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
pbr,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
2020-11-21 19:51:51 +00:00
|
|
|
buildPythonPackage rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "linecache2";
|
|
|
|
version = "1.0.0";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "0z79g3ds5wk2lvnqw0y2jpakjf32h95bd9zmnvp7dnqhf57gy9jb";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pbr ];
|
|
|
|
# circular dependencies for tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Backport of linecache to older supported Pythons";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/testing-cabal/linecache2";
|
|
|
|
license = licenses.psfl;
|
|
|
|
};
|
2020-11-21 19:51:51 +00:00
|
|
|
}
|