depot/third_party/nixpkgs/pkgs/development/python-modules/file-read-backwards/default.nix
Default email 87f9c27ba9 Project import generated by Copybara.
GitOrigin-RevId: fe2ecaf706a5907b5e54d979fbde4924d84b65fc
2023-04-12 14:48:02 +02:00

22 lines
622 B
Nix

{ lib, buildPythonPackage, fetchPypi, mock }:
buildPythonPackage rec {
pname = "file-read-backwards";
version = "3.0.0";
src = fetchPypi {
pname = "file_read_backwards";
inherit version;
sha256 = "sha256-USw+U0BDUnqPrioLcVGqJV8towPnf9QPfc9CoeCRzCY=";
};
nativeCheckInputs = [ mock ];
pythonImportsCheck = [ "file_read_backwards" ];
meta = with lib; {
homepage = "https://github.com/RobinNil/file_read_backwards";
description = "Memory efficient way of reading files line-by-line from the end of file";
license = licenses.mit;
maintainers = with maintainers; [ j0hax ];
};
}