1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 06:05:13 +00:00
nixpkgs/pkgs/tools/networking/cadaver/default.nix

31 lines
910 B
Nix
Raw Normal View History

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