1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00

cadaver: fix build against newer versions of openssl

Apply patch from Arch Linux.

See https://hydra.nixos.org/build/33258957/nixlog/1/raw
This commit is contained in:
Joachim Fasting 2016-03-24 19:02:02 +01:00
parent c6f89bc430
commit db6ae35bd9

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, openssl }:
{ stdenv, fetchurl, fetchpatch, openssl }:
stdenv.mkDerivation rec {
name = "cadaver-0.23.3";
@ -8,11 +8,20 @@ stdenv.mkDerivation rec {
sha256 = "1jizq69ifrjbjvz5y79wh1ny94gsdby4gdxwjad4bfih6a5fck7x";
};
buildInputs = [openssl];
configureFlags = ["--with-ssl"];
patches = [
(fetchpatch {
url = https://projects.archlinux.org/svntogit/community.git/plain/trunk/disable-sslv2.patch?h=packages/cadaver;
name = "disable-sslv2.patch";
sha256 = "1qx65hv584wdarks51yhd3y38g54affkphm5wz27xiz4nhmbssrr";
})
];
configureFlags = "--with-ssl";
buildInputs = [ openssl ];
meta = with stdenv.lib; {
description = "A command-line WebDAV client for Unix";
description = "A command-line WebDAV client";
homepage = http://www.webdav.org/cadaver;
maintainers = with maintainers; [ ianwookim ];
license = licenses.gpl2;