summary refs log tree commit diff
path: root/pkgs/development/python-modules/scandir/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/scandir/default.nix')
-rw-r--r--pkgs/development/python-modules/scandir/default.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/scandir/default.nix b/pkgs/development/python-modules/scandir/default.nix
new file mode 100644
index 00000000000..521f68db1cc
--- /dev/null
+++ b/pkgs/development/python-modules/scandir/default.nix
@@ -0,0 +1,18 @@
+{ lib, buildPythonPackage, fetchurl }:
+
+buildPythonPackage rec {
+  name = "scandir-${version}";
+  version = "1.7";
+
+  src = fetchurl {
+    url = "mirror://pypi/s/scandir/${name}.tar.gz";
+    sha256 ="0gbnhjzg42rj87ljv9kb648rfxph69ly3c8r9841dxy4d7l5pmdj";
+  };
+
+  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 ];
+  };
+}