xarchiver: fix darwion build

/cc ZHF #36454
This commit is contained in:
Daiderd Jordan 2018-03-12 20:31:10 +01:00
parent 1d968d180a
commit c5d531ddfb
No known key found for this signature in database
GPG Key ID: D02435D05B810C96
1 changed files with 9 additions and 1 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, gtk3, pkgconfig, intltool, libxslt, hicolor-icon-theme }:
{ stdenv, fetchFromGitHub, fetchpatch, gtk3, pkgconfig, intltool, libxslt, hicolor-icon-theme }:
stdenv.mkDerivation rec {
version = "0.5.4.12";
@ -11,6 +11,14 @@ stdenv.mkDerivation rec {
sha256 = "13d8slcx3frz0dhl1w4llj7001n57cjjb8r7dlaw5qacaas3xfwi";
};
patches = [
# Fixes darwin build, remove with next update.
(fetchpatch {
url = https://github.com/ib/xarchiver/commit/8c69d066a827419feafd0bd047d19207ceadc7df.patch;
sha256 = "1ch1409hx1ynkm0mz93zy8h7wvcrsn56sz7lczsf6hznc8yzl0qg";
})
];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gtk3 intltool libxslt hicolor-icon-theme ];