forked from mirrors/nixpkgs
Merge pull request #266267 from hexchen/init-htmllistparse
python311Packages.htmllistparse: init at 0.6.1
This commit is contained in:
commit
c191c543db
37
pkgs/development/python-modules/htmllistparse/default.nix
Normal file
37
pkgs/development/python-modules/htmllistparse/default.nix
Normal file
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -5094,6 +5094,8 @@ self: super: with self; {
|
|||
|
||||
htmllaundry = callPackage ../development/python-modules/htmllaundry { };
|
||||
|
||||
htmllistparse = callPackage ../development/python-modules/htmllistparse { };
|
||||
|
||||
htmlmin = callPackage ../development/python-modules/htmlmin { };
|
||||
|
||||
html-sanitizer = callPackage ../development/python-modules/html-sanitizer { };
|
||||
|
|
Loading…
Reference in a new issue