1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 07:00:43 +00:00

xar: fix to work on openssl 1.1.x

This commit is contained in:
Dan Peebles 2017-10-29 16:50:06 +01:00 committed by Robin Gloster
parent 051061d577
commit e26a3fd2de
No known key found for this signature in database
GPG key ID: D5C458DF6DD97EDF

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, libxml2, lzma, openssl, zlib, bzip2, fts }:
{ stdenv, fetchurl, libxml2, lzma, openssl, zlib, bzip2, fts, autoconf }:
stdenv.mkDerivation rec {
version = "1.6.1";
@ -9,7 +9,15 @@ stdenv.mkDerivation rec {
sha256 = "0ghmsbs6xwg1092v7pjcibmk5wkyifwxw6ygp08gfz25d2chhipf";
};
buildInputs = [ libxml2 lzma openssl zlib bzip2 fts ];
buildInputs = [ libxml2 lzma openssl zlib bzip2 fts autoconf ];
prePatch = ''
substituteInPlace configure.ac \
--replace 'OpenSSL_add_all_ciphers' 'OPENSSL_init_crypto' \
--replace 'openssl/evp.h' 'openssl/crypto.h'
'';
preConfigure = "./autogen.sh";
meta = {
homepage = https://mackyle.github.io/xar/;