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