Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
592 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
python,
buildPythonPackage,
fetchPypi,
}:
buildPythonPackage rec {
pname = "scandir";
version = "1.10.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "1bkqwmf056pkchf05ywbnf659wqlp6lljcdb0y88wr9f0vv32ijd";
};
patches = [
./add-aarch64-darwin-dirent.patch
];
checkPhase = "${python.interpreter} test/run_tests.py";
meta = with lib; {
description = "Better directory iterator and faster os.walk()";
homepage = "https://github.com/benhoyt/scandir";
license = licenses.gpl3;
maintainers = [ ];
};
}