1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pbr, 6}: 7 8buildPythonPackage rec { 9 pname = "linecache2"; 10 version = "1.0.0"; 11 format = "setuptools"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "0z79g3ds5wk2lvnqw0y2jpakjf32h95bd9zmnvp7dnqhf57gy9jb"; 16 }; 17 18 buildInputs = [ pbr ]; 19 # circular dependencies for tests 20 doCheck = false; 21 22 meta = with lib; { 23 description = "Backport of linecache to older supported Pythons"; 24 homepage = "https://github.com/testing-cabal/linecache2"; 25 license = licenses.psfl; 26 }; 27}