Files
nixpkgs/pkgs/development/python-modules/file-read-backwards/default.nix
T
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

24 lines
647 B
Nix

{ lib, buildPythonPackage, fetchPypi, mock }:
buildPythonPackage rec {
pname = "file-read-backwards";
version = "3.0.0";
format = "setuptools";
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 ];
};
}