libpsl: fix darwin build
tests are failing there FAIL: test-is-public ==================== valgrind: mmap-FIXED(0x7fff5f400000, 8388608) failed in UME (load_unixthread1) with error 22 (Invalid argument). FAIL test-is-public (exit status: 1) FAIL: test-is-public-all ======================== valgrind: mmap-FIXED(0x7fff5f400000, 8388608) failed in UME (load_unixthread1) with error 22 (Invalid argument). FAIL test-is-public-all (exit status: 1) FAIL: test-is-cookie-domain-acceptable ====================================== valgrind: mmap-FIXED(0x7fff5f400000, 8388608) failed in UME (load_unixthread1) with error 22 (Invalid argument). FAIL test-is-cookie-domain-acceptable (exit status: 1) FAIL: test-is-public-builtin ============================ valgrind: mmap-FIXED(0x7fff5f400000, 8388608) failed in UME (load_unixthread1) with error 22 (Invalid argument). FAIL test-is-public-builtin (exit status: 1) FAIL: test-registrable-domain ============================= valgrind: mmap-FIXED(0x7fff5f400000, 8388608) failed in UME (load_unixthread1) with error 22 (Invalid argument). FAIL test-registrable-domain (exit status: 1)
This commit is contained in:
parent
c14398f871
commit
ffc9bdea32
@ -1,5 +1,16 @@
|
||||
{ stdenv, fetchurl, autoreconfHook, docbook_xsl, docbook_xml_dtd_43, gtk-doc, lzip
|
||||
, libidn2, libunistring, libxslt, pkgconfig, python3, valgrind
|
||||
{ stdenv
|
||||
, fetchurl
|
||||
, autoreconfHook
|
||||
, docbook_xsl
|
||||
, docbook_xml_dtd_43
|
||||
, gtk-doc
|
||||
, lzip
|
||||
, libidn2
|
||||
, libunistring
|
||||
, libxslt
|
||||
, pkgconfig
|
||||
, python3
|
||||
, valgrind
|
||||
, publicsuffix-list
|
||||
}:
|
||||
|
||||
@ -12,9 +23,26 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "183hadbira0d2zvv8272lspy31dgm9x26z35c61s5axcd5wd9g9i";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook docbook_xsl docbook_xml_dtd_43 gtk-doc lzip pkgconfig python3 valgrind ];
|
||||
buildInputs = [ libidn2 libunistring libxslt ];
|
||||
propagatedBuildInputs = [ publicsuffix-list ];
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
docbook_xsl
|
||||
docbook_xml_dtd_43
|
||||
gtk-doc
|
||||
lzip
|
||||
pkgconfig
|
||||
python3
|
||||
valgrind
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libidn2
|
||||
libunistring
|
||||
libxslt
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
publicsuffix-list
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs src/psl-make-dafsa
|
||||
@ -25,7 +53,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
# "--enable-gtk-doc"
|
||||
# "--enable-gtk-doc"
|
||||
"--enable-man"
|
||||
"--enable-valgrind-tests"
|
||||
"--with-psl-distfile=${publicsuffix-list}/share/publicsuffix/public_suffix_list.dat"
|
||||
@ -35,7 +63,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
doCheck = true;
|
||||
doCheck = !stdenv.isDarwin;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "C library for the Publix Suffix List";
|
||||
|
Loading…
Reference in New Issue
Block a user