cadaver: Fix building with current openssl

...by using the already-packaged (newer) version of neon as it is also done for
openSUSE[1].

[1] https://build.opensuse.org/package/show/openSUSE:Factory/cadaver
This commit is contained in:
Christian Lütke-Stetzkamp
2021-03-07 15:29:44 +01:00
parent 560ee846ac
commit 060efbe394
3 changed files with 27 additions and 5 deletions
+6 -2
View File
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, fetchpatch, openssl, readline }:
{ lib, stdenv, fetchurl, fetchpatch, neon, pkg-config, readline, zlib}:
stdenv.mkDerivation rec {
name = "cadaver-0.23.3";
@@ -14,11 +14,15 @@ stdenv.mkDerivation rec {
name = "disable-sslv2.patch";
sha256 = "1qx65hv584wdarks51yhd3y38g54affkphm5wz27xiz4nhmbssrr";
})
# Cadaver also works with newer versions of neon than stated
# in the configure script
./configure.patch
];
configureFlags = [ "--with-ssl" "--with-readline" ];
buildInputs = [ openssl readline ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ neon readline zlib ];
meta = with lib; {
description = "A command-line WebDAV client";