Something went wrong. Try again.
lol
Something went wrong. Try again.
943 B · 52 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ lib, buildPythonPackage, fetchFromGitHub, hatchling, lxml, fastapi, httpx, pytestCheckHook, pytest-cov-stub, requests,}:
buildPythonPackage rec { pname = "inscriptis"; version = "2.7.1"; pyproject = true;
src = fetchFromGitHub { owner = "weblyzard"; repo = "inscriptis"; tag = version; hash = "sha256-hNNPY2/SroVQnf04SJ/2yYorBgQJk6d0X616+w41Y1c="; };
build-system = [ hatchling ];
dependencies = [ lxml requests ];
nativeCheckInputs = [ fastapi httpx pytestCheckHook pytest-cov-stub ];
pythonRelaxDeps = [ "lxml" ];
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 = [ ]; };}