1{ lib, buildPythonPackage, fetchPypi, mock }:
2
3buildPythonPackage rec {
4 pname = "file-read-backwards";
5 version = "2.0.0";
6
7 src = fetchPypi {
8 pname = "file_read_backwards";
9 inherit version;
10 sha256 = "fd50d9089b412147ea3c6027e2ad905f977002db2918cf315d64eed23d6d6eb8";
11 };
12
13 checkInputs = [ mock ];
14 pythonImportsCheck = [ "file_read_backwards" ];
15
16 meta = with lib; {
17 homepage = "https://github.com/RobinNil/file_read_backwards";
18 description = "Memory efficient way of reading files line-by-line from the end of file";
19 license = licenses.mit;
20 maintainers = with maintainers; [ j0hax ];
21 };
22}