Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / html-text / default.nix
blobc7b4ec23660245f73401136ef34cdaf1f04b7547
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , lxml
5 , six
6 , pytestCheckHook
7 }:
9 buildPythonPackage rec {
10   pname = "html-text";
11   version = "0.5.2";
13   src = fetchFromGitHub {
14     owner = "TeamHG-Memex";
15     repo = "html-text";
16     rev = version;
17     hash = "sha256-jw/hpz0QfcgP5OEJcmre0h1OzOfpPtaROxHm+YUqces=";
18   };
20   propagatedBuildInputs = [
21     lxml
22   ];
24   nativeCheckInputs = [
25     pytestCheckHook
26     six
27   ];
29   pythonImportsCheck = [ "html_text" ];
31   meta = with lib; {
32     description = "Extract text from HTML";
33     homepage = "https://github.com/TeamHG-Memex/html-text";
34     license = licenses.mit;
35     maintainers = with maintainers; [ ambroisie ];
36   };