python3Packages.xmlschema: 1.5.3 -> 1.6.2

This commit is contained in:
Jonathan Ringer 2021-05-20 22:19:14 -07:00 committed by Jonathan Ringer
parent f83838a0d3
commit 38d74bdf3f

View file

@ -5,25 +5,20 @@
}:
buildPythonPackage rec {
version = "1.5.3";
version = "1.6.2";
pname = "xmlschema";
src = fetchFromGitHub {
owner = "sissaschool";
repo = "xmlschema";
rev = "v${version}";
sha256 = "0pv8zdz03wjnjwrgjr5pc3q69h7zh51h0iwgwxwl65qi1r6ydk54";
sha256 = "sha256-GL2PlHxKDSEsZwHPBAy+tjBSbKyvlbXUWwXakKPmzSs=";
};
propagatedBuildInputs = [ elementpath ];
checkInputs = [ lxml pytest ];
postPatch = ''
substituteInPlace setup.py \
--replace "elementpath~=2.0.0" "elementpath~=2.0"
'';
# Ignore broken fixtures, and tests for files which don't exist.
# For darwin, we need to explicity say we can't reach network
checkPhase = ''