depot/third_party/nixpkgs/pkgs/development/python-modules/inscriptis/default.nix
Default email c594a97518 Project import generated by Copybara.
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
2022-10-21 20:38:19 +02:00

38 lines
722 B
Nix

{ 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 ];
};
}