1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 html5lib, 6 pythonOlder, 7 rdflib, 8 requests, 9 setuptools, 10}: 11 12buildPythonPackage rec { 13 pname = "pyrdfa3"; 14 version = "3.6.2"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchPypi { 20 inherit version; 21 pname = "pyRdfa3"; 22 hash = "sha256-c2gdq5V/YJAWlnZziLlWpXaccwvEUdpv+y8ONvGDFMI="; 23 }; 24 25 nativeBuildInputs = [ setuptools ]; 26 27 propagatedBuildInputs = [ 28 rdflib 29 html5lib 30 requests 31 ]; 32 33 pythonImportsCheck = [ "pyRdfa" ]; 34 35 meta = with lib; { 36 description = "RDFa 1.1 distiller/parser library"; 37 homepage = "https://github.com/prrvchr/pyrdfa3/"; 38 changelog = "https://github.com/prrvchr/pyrdfa3/releases/tag/v${version}"; 39 license = licenses.w3c; 40 maintainers = with maintainers; [ ambroisie ]; 41 }; 42}