2023-01-01 16:51:56 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, neon
|
|
|
|
, pkg-config
|
|
|
|
, zlib
|
|
|
|
, openssl
|
|
|
|
}:
|
2014-07-30 14:55:44 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-08-01 20:48:53 +00:00
|
|
|
pname = "cadaver";
|
2023-01-01 16:51:56 +00:00
|
|
|
version = "0.24";
|
2014-07-30 14:55:44 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2023-01-01 16:51:56 +00:00
|
|
|
url = "https://notroj.github.io/cadaver/cadaver-${version}.tar.gz";
|
|
|
|
hash = "sha256-Rs/y8+vTLNMoNoEspHvMdTU/wr51fwk9qIwN2PEP1fY=";
|
2014-07-30 14:55:44 +00:00
|
|
|
};
|
|
|
|
|
2023-01-01 16:51:56 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--with-ssl"
|
2016-03-24 18:02:02 +00:00
|
|
|
];
|
|
|
|
|
2023-01-01 16:51:56 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
pkg-config
|
|
|
|
];
|
2016-03-24 18:02:02 +00:00
|
|
|
|
2023-01-01 16:51:56 +00:00
|
|
|
buildInputs = [
|
|
|
|
neon
|
|
|
|
openssl
|
|
|
|
zlib
|
|
|
|
];
|
2014-10-18 17:47:37 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-03-24 18:02:02 +00:00
|
|
|
description = "A command-line WebDAV client";
|
2023-01-01 16:51:56 +00:00
|
|
|
homepage = "https://notroj.github.io/cadaver/";
|
|
|
|
changelog = "https://github.com/notroj/cadaver/blob/${version}/NEWS";
|
2014-07-30 14:55:44 +00:00
|
|
|
maintainers = with maintainers; [ ianwookim ];
|
2023-01-01 16:51:56 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = with platforms; linux ++ freebsd ++ openbsd;
|
2024-02-11 02:19:15 +00:00
|
|
|
mainProgram = "cadaver";
|
2014-07-30 14:55:44 +00:00
|
|
|
};
|
|
|
|
}
|