nixpkgs/pkgs/development/python-modules/scandir/default.nix

21 lines
503 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "scandir";
2019-06-03 17:00:38 +02:00
version = "1.10.0";
src = fetchPypi {
inherit pname version;
2019-06-03 17:00:38 +02:00
sha256 ="1bkqwmf056pkchf05ywbnf659wqlp6lljcdb0y88wr9f0vv32ijd";
};
2019-06-03 17:00:38 +02:00
checkPhase = "python test/run_tests.py";
meta = with lib; {
description = "A better directory iterator and faster os.walk()";
homepage = https://github.com/benhoyt/scandir;
license = licenses.gpl3;
maintainers = with maintainers; [ abbradar ];
};
}