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