Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
891 B · 40 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041{ lib, buildPythonPackage, fetchPypi, mock, pythonOlder, setuptools, unittestCheckHook,}:
buildPythonPackage rec { pname = "file-read-backwards"; version = "3.1.0"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi { pname = "file_read_backwards"; inherit version; hash = "sha256-vQRZO8GTigAyJL5FHV1zXx9EkOHnClaM6NMwu3ZSpoQ="; };
build-system = [ setuptools ];
nativeCheckInputs = [ mock unittestCheckHook ];
pythonImportsCheck = [ "file_read_backwards" ];
meta = with lib; { description = "Memory efficient way of reading files line-by-line from the end of file"; homepage = "https://github.com/RobinNil/file_read_backwards"; changelog = "https://github.com/RobinNil/file_read_backwards/blob/v${version}/HISTORY.rst"; license = licenses.mit; maintainers = with maintainers; [ j0hax ]; };}