1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, setuptools 5, pytestCheckHook 6, pytest-mypy-plugins 7, lxml 8}: 9 10buildPythonPackage rec { 11 pname = "lxml-stubs"; 12 version = "0.4.0"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "lxml"; 17 repo = "lxml-stubs"; 18 rev = version; 19 hash = "sha256-RRH/taLtgaXOl0G/ve2Ad7Xy8WRDUG2/k26EFMv1PRM="; 20 }; 21 22 nativeBuildInputs = [ 23 setuptools 24 ]; 25 propagatedBuildInputs = [ 26 lxml 27 ]; 28 nativeCheckInputs = [ 29 pytestCheckHook 30 pytest-mypy-plugins 31 ]; 32 33 meta = with lib; { 34 description = "Type stubs for the lxml package"; 35 homepage = "https://github.com/lxml/lxml-stubs"; 36 license = licenses.asl20; 37 maintainers = with maintainers; [ doronbehar ]; 38 }; 39}