pytrainer: unpin python 3.10
[NixPkgs.git] / pkgs / development / python-modules / lxml-stubs / default.nix
blob60d2baf7c6852655131c413a805a5a084fc2fae9
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   lxml,
6   pytest-mypy-plugins,
7   pytestCheckHook,
8   setuptools,
9 }:
11 buildPythonPackage rec {
12   pname = "lxml-stubs";
13   version = "0.5.1";
14   pyproject = true;
16   src = fetchFromGitHub {
17     owner = "lxml";
18     repo = "lxml-stubs";
19     rev = "refs/tags/${version}";
20     hash = "sha256-OwaPnCr0vylhdAvMMUfGV6DjZEh7Q71pgMOt66urg5I=";
21   };
23   nativeBuildInputs = [ setuptools ];
25   propagatedBuildInputs = [ lxml ];
27   nativeCheckInputs = [
28     pytestCheckHook
29     pytest-mypy-plugins
30   ];
32   disabledTests = [
33     # Output difference, https://github.com/lxml/lxml-stubs/issues/101
34     "etree_element_iterchildren"
35   ];
37   meta = with lib; {
38     description = "Type stubs for the lxml package";
39     homepage = "https://github.com/lxml/lxml-stubs";
40     license = licenses.asl20;
41     maintainers = with maintainers; [ doronbehar ];
42   };