slint-lsp: 1.9.1 -> 1.9.2 (#375714)
[NixPkgs.git] / pkgs / development / python-modules / xmlschema / default.nix
blob5258a3c38052fdf48abdd40e807d3b7e5021ce24
2   lib,
3   buildPythonPackage,
4   elementpath,
5   fetchFromGitHub,
6   jinja2,
7   lxml,
8   pytestCheckHook,
9   pythonOlder,
10   setuptools,
13 buildPythonPackage rec {
14   pname = "xmlschema";
15   version = "3.4.3";
16   pyproject = true;
18   disabled = pythonOlder "3.7";
20   src = fetchFromGitHub {
21     owner = "sissaschool";
22     repo = "xmlschema";
23     tag = "v${version}";
24     hash = "sha256-7RA9lQwuty8aZghwTKNbU+oL+BATH2FVIRQBe9fIpHI=";
25   };
27   build-system = [ setuptools ];
29   dependencies = [ elementpath ];
31   nativeCheckInputs = [
32     jinja2
33     lxml
34     pytestCheckHook
35   ];
37   disabledTests = [
38     # Incorrect error message in pickling test for Python 3.12 in Debian
39     # https://github.com/sissaschool/xmlschema/issues/412
40     "test_pickling_subclassed_schema__issue_263"
41   ];
43   pythonImportsCheck = [ "xmlschema" ];
45   meta = with lib; {
46     description = "XML Schema validator and data conversion library for Python";
47     homepage = "https://github.com/sissaschool/xmlschema";
48     changelog = "https://github.com/sissaschool/xmlschema/blob/${src.rev}/CHANGELOG.rst";
49     license = licenses.mit;
50     maintainers = [ ];
51   };