summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/html-table-parser-python3/default.nix
blob: 6f45b9d8fab717a8545fc39bd9d2c7c062d70a2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  poetry-core,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "html-table-parser-python3";
  version = "0.3.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "schmijos";
    repo = "html-table-parser-python3";
    rev = "v${version}";
    hash = "sha256-okYl0T12wVld7GVbFQH2hgEVKXSScipJN/vYaiRVdGY=";
  };

  build-system = [ poetry-core ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "html_table_parser" ];

  meta = {
    description = "Small and simple HTML table parser not requiring any external dependency";
    homepage = "https://github.com/schmijos/html-table-parser-python3";
    license = lib.licenses.agpl3Only;
    maintainers = with lib.maintainers; [ pyrox0 ];
  };
}