Files
nixpkgs/pkgs/development/python-modules/inscriptis/default.nix
Martin Weinelt 91321c4cd0 python3Packages.inscriptis: 2.6.0 -> 2.7.0
https://github.com/weblyzard/inscriptis/releases/tag/2.7.0

This commit was automatically generated using update-python-libraries.
2026-02-01 17:19:20 +01:00

49 lines
875 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
lxml,
fastapi,
httpx,
pytestCheckHook,
requests,
}:
buildPythonPackage rec {
pname = "inscriptis";
version = "2.7.0";
pyproject = true;
src = fetchFromGitHub {
owner = "weblyzard";
repo = "inscriptis";
tag = version;
hash = "sha256-m1LZiGu79I9fMQXtL1MuzHxUd6KSwuc87Edkt9sp0DE=";
};
build-system = [ poetry-core ];
dependencies = [
lxml
requests
];
nativeCheckInputs = [
fastapi
httpx
pytestCheckHook
];
pythonImportsCheck = [ "inscriptis" ];
meta = {
description = "HTML to text converter";
mainProgram = "inscript.py";
homepage = "https://github.com/weblyzard/inscriptis";
changelog = "https://github.com/weblyzard/inscriptis/releases/tag/${src.tag}";
license = lib.licenses.asl20;
maintainers = [ ];
};
}