1{
2 lib,
3 stdenv,
4 fetchurl,
5 neon,
6 pkg-config,
7 zlib,
8 openssl,
9}:
10
11stdenv.mkDerivation rec {
12 pname = "cadaver";
13 version = "0.26";
14
15 src = fetchurl {
16 url = "https://notroj.github.io/cadaver/cadaver-${version}.tar.gz";
17 hash = "sha256-kjbkPN81BdnvBhhf2kMlKEAQXAwC2TcLbhB32GY1e1U=";
18 };
19
20 configureFlags = [
21 "--with-ssl"
22 ];
23
24 nativeBuildInputs = [
25 pkg-config
26 ];
27
28 buildInputs = [
29 neon
30 openssl
31 zlib
32 ];
33
34 meta = {
35 description = "Command-line WebDAV client";
36 homepage = "https://notroj.github.io/cadaver/";
37 changelog = "https://github.com/notroj/cadaver/blob/${version}/NEWS";
38 maintainers = with lib.maintainers; [ ianwookim ];
39 license = lib.licenses.gpl2Plus;
40 platforms = with lib.platforms; linux ++ freebsd ++ openbsd;
41 mainProgram = "cadaver";
42 };
43}