libpsl: 0.11.0 -> 0.12.0

This commit is contained in:
Tobias Geerinckx-Rice 2016-01-02 18:59:09 +01:00
parent d030b608dd
commit d9f06f6665

View file

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, autoreconfHook, docbook_xsl, gtk_doc, icu
, libxslt, pkgconfig }:
, libxslt, pkgconfig, python }:
let
@ -13,23 +13,24 @@ let
owner = "publicsuffix";
};
libVersion = "0.11.0";
libVersion = "0.12.0";
in stdenv.mkDerivation {
name = "libpsl-${version}";
src = fetchFromGitHub {
sha256 = "08k7prrr83lg6jmm5r5k4alpm2in4qlnx49ypb4bxv16lq8dcnmm";
sha256 = "13w3lc752az2swymg408f3w2lbqs0f2h5ri6d5jw1vv9z0ij9xlw";
rev = "libpsl-${libVersion}";
repo = "libpsl";
owner = "rockdaboot";
};
buildInputs = [ icu libxslt ];
nativeBuildInputs = [ autoreconfHook docbook_xsl gtk_doc pkgconfig ];
nativeBuildInputs = [ autoreconfHook docbook_xsl gtk_doc pkgconfig python ];
postPatch = ''
substituteInPlace src/psl.c --replace bits/stat.h sys/stat.h
patchShebangs src/make_dafsa.py
'';
preAutoreconf = ''
@ -41,7 +42,12 @@ in stdenv.mkDerivation {
# The libpsl check phase requires the list's test scripts (tests/) as well
cp -Rv "${listSources}"/* list
'';
configureFlags = [ "--disable-static" "--enable-gtk-doc" "--enable-man" ];
configureFlags = [
"--disable-builtin"
"--disable-static"
"--enable-gtk-doc"
"--enable-man"
];
enableParallelBuilding = true;