mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 06:06:13 +03:00
libxml2: 2.9.9 -> 2.9.10
disable python test which was previously failing anyway, but in previous versions it was being ignored
This commit is contained in:
parent
119b1b630d
commit
c3c77ecfde
@ -8,11 +8,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libxml2";
|
||||
version = "2.9.9";
|
||||
version = "2.9.10";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://xmlsoft.org/sources/${pname}-${version}.tar.gz";
|
||||
sha256 = "0wd881jzvqayx0ihzba29jl80k06xj9ywp16kxacdqs3064p1ywl";
|
||||
sha256 = "07xynh8hcxb2yb1fs051xrgszjvj37wnxvxgsj10rzmqzy9y3zma";
|
||||
};
|
||||
patches = [
|
||||
# Upstream bugs:
|
||||
@ -53,6 +53,12 @@ stdenv.mkDerivation rec {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
# disable test that's problematic with newer pythons: see
|
||||
# https://mail.gnome.org/archives/xml/2017-August/msg00014.html
|
||||
preCheck = lib.optionalString (pythonSupport && !(python?pythonOlder && python.pythonOlder "3.5")) ''
|
||||
echo "" > python/tests/tstLastError.py
|
||||
'';
|
||||
|
||||
doCheck = (stdenv.hostPlatform == stdenv.buildPlatform) && !stdenv.isDarwin &&
|
||||
stdenv.hostPlatform.libc != "musl";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user