about summary refs log tree commit diff
path: root/pkgs/development/python-modules/htmllistparse/default.nix
blob: 5bd467bed3851b9f11d02acd2e22afe567822bca (plain) (blame)
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
34
35
36
37
38
39
40
41
42
{
  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";
    mainProgram = "rehttpfs";
    license = licenses.mit;
    maintainers = [ ];
  };
}