about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/htmllistparse/default.nix
blob: ae13f6585a1d58fa19b3629089fcbfe3f73e4792 (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
{ 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 ];
  };
}