Skip to content

Commit 6d24b82

Browse files
committed
python3Packages.scantree: Sync with version submitted to nixpkgs
1 parent 0287ce5 commit 6d24b82

File tree

1 file changed

+26
-7
lines changed

1 file changed

+26
-7
lines changed

pkgs/scantree/default.nix

Lines changed: 26 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,41 @@
1-
{ lib, buildPythonPackage, fetchPypi, attrs, pathspec, six, versioneer }:
1+
{
2+
lib,
3+
buildPythonPackage,
4+
fetchPypi,
5+
setuptools,
6+
versioneer,
7+
attrs,
8+
pathspec,
9+
}:
210

311
buildPythonPackage rec {
412
pname = "scantree";
513
version = "0.0.4";
14+
pyproject = true;
615

716
src = fetchPypi {
817
inherit pname version;
918
hash = "sha256-Fb1cskSDsE2yxwZTYE6Oo1IumAh9t+OKuEgvBTmEwKw=";
1019
};
1120

12-
propagatedBuildInputs = [ attrs pathspec six versioneer ];
21+
build-system = [
22+
setuptools
23+
versioneer
24+
];
1325

14-
doCheck = false;
26+
dependencies = [
27+
attrs
28+
pathspec
29+
];
1530

16-
meta = with lib; {
31+
pythonImportsCheck = [
32+
"scantree"
33+
];
34+
35+
meta = {
1736
description = "Flexible recursive directory iterator: scandir meets glob(\"**\", recursive=True)";
18-
homepage = "https://github.com/andhus/scantree";
19-
license = licenses.mit;
20-
maintainers = with maintainers; [ lopsided98 ];
37+
homepage = "https://pypi.org/project/scantree/";
38+
license = lib.licenses.mit;
39+
maintainers = with lib.maintainers; [ wentasah ];
2140
};
2241
}

0 commit comments

Comments
 (0)