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