python310Packages.xmlschema: 2.1.1 -> 2.2.0
Diff: https://github.com/sissaschool/xmlschema/compare/refs/tags/v2.1.1...v2.2.0 Changelog: https://github.com/sissaschool/xmlschema/blob/refs/tags/v2.2.0/CHANGELOG.rst
This commit is contained in:
parent
a3c897fe34
commit
01fecfaa9b
1 changed files with 5 additions and 15 deletions
|
@ -2,6 +2,7 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, elementpath
|
, elementpath
|
||||||
|
, jinja2
|
||||||
, lxml
|
, lxml
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
|
@ -9,7 +10,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "xmlschema";
|
pname = "xmlschema";
|
||||||
version = "2.1.1";
|
version = "2.2.0";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
@ -18,7 +19,7 @@ buildPythonPackage rec {
|
||||||
owner = "sissaschool";
|
owner = "sissaschool";
|
||||||
repo = "xmlschema";
|
repo = "xmlschema";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-rt7QScg458ezDwktO1QRydmC3XqedX+kPpv6J+JvLzQ=";
|
hash = "sha256-KK1F8OVK+19ZWwu+2UtTMiVNyPPoPOv3V1qJFZAu2h4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -26,28 +27,17 @@ buildPythonPackage rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
|
jinja2
|
||||||
lxml
|
lxml
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
# Ignore broken fixtures, and tests for files which don't exist.
|
|
||||||
# For darwin, we need to explicity say we can't reach network
|
|
||||||
disabledTests = [
|
|
||||||
"export_remote"
|
|
||||||
"element_tree_import_script"
|
|
||||||
];
|
|
||||||
|
|
||||||
disabledTestPaths = [
|
|
||||||
"tests/test_schemas.py"
|
|
||||||
"tests/test_memory.py"
|
|
||||||
"tests/test_validation.py"
|
|
||||||
];
|
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
"xmlschema"
|
"xmlschema"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
changelog = "https://github.com/sissaschool/xmlschema/blob/${src.rev}/CHANGELOG.rst";
|
||||||
description = "XML Schema validator and data conversion library for Python";
|
description = "XML Schema validator and data conversion library for Python";
|
||||||
homepage = "https://github.com/sissaschool/xmlschema";
|
homepage = "https://github.com/sissaschool/xmlschema";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
|
|
Loading…
Reference in a new issue