diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2023-11-09 06:01:40 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-09 06:01:40 +0000 |
commit | fecd99b105c644b1b61abfec6c203b304269e1e2 (patch) | |
tree | ba0cde17b0de008691f339cdae1c4d19369a729c /pkgs/development/python-modules/htmllistparse/default.nix | |
parent | 50249cdaf29f872fb960dc9110696d208a77fc3a (diff) | |
parent | 4aad65bfdbc56be726873b09b4bbaa88448ecbba (diff) | |
download | nixlib-fecd99b105c644b1b61abfec6c203b304269e1e2.tar nixlib-fecd99b105c644b1b61abfec6c203b304269e1e2.tar.gz nixlib-fecd99b105c644b1b61abfec6c203b304269e1e2.tar.bz2 nixlib-fecd99b105c644b1b61abfec6c203b304269e1e2.tar.lz nixlib-fecd99b105c644b1b61abfec6c203b304269e1e2.tar.xz nixlib-fecd99b105c644b1b61abfec6c203b304269e1e2.tar.zst nixlib-fecd99b105c644b1b61abfec6c203b304269e1e2.zip |
Merge staging-next into staging
Diffstat (limited to 'pkgs/development/python-modules/htmllistparse/default.nix')
-rw-r--r-- | pkgs/development/python-modules/htmllistparse/default.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/htmllistparse/default.nix b/pkgs/development/python-modules/htmllistparse/default.nix new file mode 100644 index 000000000000..ae13f6585a1d --- /dev/null +++ b/pkgs/development/python-modules/htmllistparse/default.nix @@ -0,0 +1,37 @@ +{ lib +, buildPythonPackage +, fetchPypi +, setuptools +, beautifulsoup4 +, html5lib +, requests +, fusepy +}: + +buildPythonPackage rec { + pname = "htmllistparse"; + version = "0.6.1"; + pyproject = true; + + src = fetchPypi { + inherit pname version; + hash = "sha256-bcimvwPIQ7nTJYQ6JqI1GnlbVzzZKiybgnFiEBnGQII="; + }; + + nativeBuildInputs = [ setuptools ]; + propagatedBuildInputs = [ beautifulsoup4 html5lib requests fusepy ]; + + # upstream has no tests + doCheck = false; + + pythonImportsCheck = [ + "htmllistparse" + ]; + + meta = with lib; { + homepage = "https://github.com/gumblex/htmllisting-parser"; + description = "Python parser for Apache/nginx-style HTML directory listing"; + license = licenses.mit; + maintainers = with maintainers; [ hexchen ]; + }; +} |