2023-01-11 07:51:40 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, neon
|
|
|
|
, pkg-config
|
|
|
|
, zlib
|
|
|
|
, openssl
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-08-05 21:33:18 +00:00
|
|
|
pname = "cadaver";
|
2023-01-11 07:51:40 +00:00
|
|
|
version = "0.24";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2023-01-11 07:51:40 +00:00
|
|
|
url = "https://notroj.github.io/cadaver/cadaver-${version}.tar.gz";
|
|
|
|
hash = "sha256-Rs/y8+vTLNMoNoEspHvMdTU/wr51fwk9qIwN2PEP1fY=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-01-11 07:51:40 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--with-ssl"
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2023-01-11 07:51:40 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
pkg-config
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-01-11 07:51:40 +00:00
|
|
|
buildInputs = [
|
|
|
|
neon
|
|
|
|
openssl
|
|
|
|
zlib
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A command-line WebDAV client";
|
2023-01-11 07:51:40 +00:00
|
|
|
homepage = "https://notroj.github.io/cadaver/";
|
|
|
|
changelog = "https://github.com/notroj/cadaver/blob/${version}/NEWS";
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = with maintainers; [ ianwookim ];
|
2023-01-11 07:51:40 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = with platforms; linux ++ freebsd ++ openbsd;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|