python310Packages.inscriptis: init at 2.3.1

This commit is contained in:
Sandro Jäckel
2022-10-17 20:33:59 +02:00
parent a11a2a6d18
commit 05250cc252
2 changed files with 40 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, lxml
, pytestCheckHook
, requests
}:
buildPythonPackage rec {
pname = "inscriptis";
version = "2.3.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "weblyzard";
repo = "inscriptis";
rev = version;
sha256 = "sha256-an/FTbujN2VnTYa0wngM8ugV1LNHJWM32RVqIbaW0KY=";
};
propagatedBuildInputs = [
lxml
requests
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "inscriptis" ];
meta = with lib; {
description = "inscriptis - HTML to text converter";
homepage = "https://github.com/weblyzard/inscriptis";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}