python3Packages.xmlschema: 1.5.3 -> 1.6.2
This commit is contained in:
parent
f83838a0d3
commit
38d74bdf3f
|
@ -5,25 +5,20 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
version = "1.5.3";
|
version = "1.6.2";
|
||||||
pname = "xmlschema";
|
pname = "xmlschema";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "sissaschool";
|
owner = "sissaschool";
|
||||||
repo = "xmlschema";
|
repo = "xmlschema";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0pv8zdz03wjnjwrgjr5pc3q69h7zh51h0iwgwxwl65qi1r6ydk54";
|
sha256 = "sha256-GL2PlHxKDSEsZwHPBAy+tjBSbKyvlbXUWwXakKPmzSs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ elementpath ];
|
propagatedBuildInputs = [ elementpath ];
|
||||||
|
|
||||||
checkInputs = [ lxml pytest ];
|
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.
|
# Ignore broken fixtures, and tests for files which don't exist.
|
||||||
# For darwin, we need to explicity say we can't reach network
|
# For darwin, we need to explicity say we can't reach network
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
|
|
Loading…
Reference in New Issue