1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 poetry-core,
6 pytestCheckHook,
7}:
8
9buildPythonPackage rec {
10 pname = "html-table-parser-python3";
11 version = "0.3.1";
12 pyproject = true;
13
14 src = fetchFromGitHub {
15 owner = "schmijos";
16 repo = "html-table-parser-python3";
17 rev = "v${version}";
18 hash = "sha256-okYl0T12wVld7GVbFQH2hgEVKXSScipJN/vYaiRVdGY=";
19 };
20
21 build-system = [ poetry-core ];
22
23 nativeCheckInputs = [ pytestCheckHook ];
24
25 pythonImportsCheck = [ "html_table_parser" ];
26
27 meta = {
28 description = "Small and simple HTML table parser not requiring any external dependency";
29 homepage = "https://github.com/schmijos/html-table-parser-python3";
30 license = lib.licenses.agpl3Only;
31 maintainers = with lib.maintainers; [ pyrox0 ];
32 };
33}