2019-08-31 15:16:05 +01:00
|
|
|
{ lib, python, buildPythonPackage, fetchPypi }:
|
2018-02-25 17:25:00 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2018-06-23 14:27:58 +01:00
|
|
|
pname = "scandir";
|
2019-06-03 16:00:38 +01:00
|
|
|
version = "1.10.0";
|
2018-02-25 17:25:00 +00:00
|
|
|
|
2018-06-23 14:27:58 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-06-03 16:00:38 +01:00
|
|
|
sha256 ="1bkqwmf056pkchf05ywbnf659wqlp6lljcdb0y88wr9f0vv32ijd";
|
2018-02-25 17:25:00 +00:00
|
|
|
};
|
|
|
|
|
2019-08-31 15:16:05 +01:00
|
|
|
checkPhase = "${python.interpreter} test/run_tests.py";
|
2019-06-03 16:00:38 +01:00
|
|
|
|
2018-02-25 17:25:00 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "A better directory iterator and faster os.walk()";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/benhoyt/scandir";
|
2018-02-25 17:25:00 +00:00
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ abbradar ];
|
|
|
|
};
|
|
|
|
}
|