ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / inscriptis / default.nix
blob2fa224b3f21096a79f6d04cebd7d231e1f1ed60d
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , lxml
5 , pytestCheckHook
6 , requests
7 }:
9 buildPythonPackage rec {
10   pname = "inscriptis";
11   version = "2.3.1";
12   format = "setuptools";
14   src = fetchFromGitHub {
15     owner = "weblyzard";
16     repo = "inscriptis";
17     rev = version;
18     sha256 = "sha256-an/FTbujN2VnTYa0wngM8ugV1LNHJWM32RVqIbaW0KY=";
19   };
21   propagatedBuildInputs = [
22     lxml
23     requests
24   ];
26   checkInputs = [
27     pytestCheckHook
28   ];
30   pythonImportsCheck = [ "inscriptis" ];
32   meta = with lib; {
33     description = "inscriptis - HTML to text converter";
34     homepage = "https://github.com/weblyzard/inscriptis";
35     license = licenses.asl20;
36     maintainers = with maintainers; [ SuperSandro2000 ];
37   };