mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
python.pkgs.scandir: move to a separate file
This commit is contained in:
parent
cc6dff3be4
commit
a299bf6692
18
pkgs/development/python-modules/scandir/default.nix
Normal file
18
pkgs/development/python-modules/scandir/default.nix
Normal file
@ -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 ];
|
||||
};
|
||||
}
|
@ -6522,22 +6522,7 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
scandir = self.buildPythonPackage rec {
|
||||
name = "scandir-${version}";
|
||||
version = "1.4";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/s/scandir/${name}.tar.gz";
|
||||
sha256 = "0yjrgp0mxp3d8bjkq2m1ac2ys8n76wykksvgyjrnil9gr3fx7a5d";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A better directory iterator and faster os.walk()";
|
||||
homepage = "https://github.com/benhoyt/scandir";
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ abbradar ];
|
||||
};
|
||||
};
|
||||
scandir = callPackage ../development/python-modules/scandir { };
|
||||
|
||||
schedule = buildPythonPackage rec {
|
||||
name = "schedule-0.3.2";
|
||||
|
Loading…
Reference in New Issue
Block a user