1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6 beautifulsoup4,
7 html5lib,
8 requests,
9 fusepy,
10}:
11
12buildPythonPackage rec {
13 pname = "htmllistparse";
14 version = "0.6.1";
15 pyproject = true;
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-bcimvwPIQ7nTJYQ6JqI1GnlbVzzZKiybgnFiEBnGQII=";
20 };
21
22 nativeBuildInputs = [ setuptools ];
23 propagatedBuildInputs = [
24 beautifulsoup4
25 html5lib
26 requests
27 fusepy
28 ];
29
30 # upstream has no tests
31 doCheck = false;
32
33 pythonImportsCheck = [ "htmllistparse" ];
34
35 meta = with lib; {
36 homepage = "https://github.com/gumblex/htmllisting-parser";
37 description = "Python parser for Apache/nginx-style HTML directory listing";
38 mainProgram = "rehttpfs";
39 license = licenses.mit;
40 maintainers = [ ];
41 };
42}