1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, lxml 5, pytestCheckHook 6, requests 7}: 8 9buildPythonPackage rec { 10 pname = "inscriptis"; 11 version = "2.3.1"; 12 format = "setuptools"; 13 14 src = fetchFromGitHub { 15 owner = "weblyzard"; 16 repo = "inscriptis"; 17 rev = version; 18 sha256 = "sha256-an/FTbujN2VnTYa0wngM8ugV1LNHJWM32RVqIbaW0KY="; 19 }; 20 21 propagatedBuildInputs = [ 22 lxml 23 requests 24 ]; 25 26 checkInputs = [ 27 pytestCheckHook 28 ]; 29 30 pythonImportsCheck = [ "inscriptis" ]; 31 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 }; 38}