2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, fetchurl, cmake, pkgconfig, openssl, libxml2, boost, python3, libuuid }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-05-15 21:57:56 +00:00
|
|
|
version = "0.7.6";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "davix";
|
|
|
|
nativeBuildInputs = [ cmake pkgconfig python3 ];
|
|
|
|
buildInputs = [ openssl libxml2 boost libuuid ];
|
|
|
|
|
2020-11-24 20:58:05 +00:00
|
|
|
# using the url below since the github release page states
|
|
|
|
# "please ignore the GitHub-generated tarballs, as they are incomplete"
|
|
|
|
# https://github.com/cern-fts/davix/releases/tag/R_0_7_6
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchurl {
|
2020-11-24 20:58:05 +00:00
|
|
|
url = "https://github.com/cern-fts/${pname}/releases/download/R_${stdenv.lib.replaceStrings ["."] ["_"] version}/${pname}-${version}.tar.gz";
|
2020-05-15 21:57:56 +00:00
|
|
|
sha256 = "0wq66spnr616cns72f9dvr2xfvkdvfqqmc6d7dx29fpp57zzvrx2";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Toolkit for Http-based file management";
|
|
|
|
|
|
|
|
longDescription = "Davix is a toolkit designed for file
|
|
|
|
operations with Http based protocols (WebDav, Amazon S3, ...).
|
|
|
|
Davix provides an API and a set of command line tools";
|
|
|
|
|
|
|
|
license = licenses.lgpl2Plus;
|
|
|
|
homepage = "http://dmc.web.cern.ch/projects/davix/home";
|
|
|
|
maintainers = [ maintainers.adev ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|