2019-11-07 02:29:17 +01:00
|
|
|
{ stdenv, fetchurl, fetchpatch, openssl, readline }:
|
2014-07-30 16:55:44 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "cadaver-0.23.3";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.webdav.org/cadaver/${name}.tar.gz";
|
|
|
|
sha256 = "1jizq69ifrjbjvz5y79wh1ny94gsdby4gdxwjad4bfih6a5fck7x";
|
|
|
|
};
|
|
|
|
|
2016-03-24 19:02:02 +01:00
|
|
|
patches = [
|
|
|
|
(fetchpatch {
|
2020-04-01 03:11:51 +02:00
|
|
|
url = "https://projects.archlinux.org/svntogit/community.git/plain/trunk/disable-sslv2.patch?h=packages/cadaver";
|
2016-03-24 19:02:02 +01:00
|
|
|
name = "disable-sslv2.patch";
|
|
|
|
sha256 = "1qx65hv584wdarks51yhd3y38g54affkphm5wz27xiz4nhmbssrr";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2019-11-07 02:29:17 +01:00
|
|
|
configureFlags = [ "--with-ssl" "--with-readline" ];
|
2016-03-24 19:02:02 +01:00
|
|
|
|
2019-11-07 02:29:17 +01:00
|
|
|
buildInputs = [ openssl readline ];
|
2014-10-18 19:47:37 +02:00
|
|
|
|
2014-07-30 16:55:44 +02:00
|
|
|
meta = with stdenv.lib; {
|
2016-03-24 19:02:02 +01:00
|
|
|
description = "A command-line WebDAV client";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://www.webdav.org/cadaver";
|
2014-07-30 16:55:44 +02:00
|
|
|
maintainers = with maintainers; [ ianwookim ];
|
2014-07-31 13:51:31 +02:00
|
|
|
license = licenses.gpl2;
|
2014-08-09 12:13:44 +02:00
|
|
|
platforms = with platforms; linux ++ freebsd ++ openbsd;
|
2014-07-30 16:55:44 +02:00
|
|
|
};
|
|
|
|
}
|