2021-01-17 03:51:22 +00:00
|
|
|
{ lib, stdenv, fetchurl, cmake, pkg-config, openssl, libxml2, boost, python3, libuuid }:
|
2015-06-01 08:05:53 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-05-04 21:59:05 +00:00
|
|
|
version = "0.7.6";
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "davix";
|
2021-01-17 03:51:22 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config python3 ];
|
2019-03-07 11:46:05 +00:00
|
|
|
buildInputs = [ openssl libxml2 boost libuuid ];
|
2015-06-01 08:05:53 +00:00
|
|
|
|
2020-11-18 14:00:14 +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
|
2019-03-07 11:46:05 +00:00
|
|
|
src = fetchurl {
|
2021-01-15 09:19:50 +00:00
|
|
|
url = "https://github.com/cern-fts/${pname}/releases/download/R_${lib.replaceStrings ["."] ["_"] version}/${pname}-${version}.tar.gz";
|
2020-05-04 21:59:05 +00:00
|
|
|
sha256 = "0wq66spnr616cns72f9dvr2xfvkdvfqqmc6d7dx29fpp57zzvrx2";
|
2015-06-01 08:05:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2015-06-01 08:05:53 +00:00
|
|
|
description = "Toolkit for Http-based file management";
|
|
|
|
|
2019-03-07 11:46:05 +00:00
|
|
|
longDescription = "Davix is a toolkit designed for file
|
2015-06-01 08:05:53 +00:00
|
|
|
operations with Http based protocols (WebDav, Amazon S3, ...).
|
|
|
|
Davix provides an API and a set of command line tools";
|
|
|
|
|
|
|
|
license = licenses.lgpl2Plus;
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://dmc.web.cern.ch/projects/davix/home";
|
2015-06-01 08:05:53 +00:00
|
|
|
maintainers = [ maintainers.adev ];
|
|
|
|
platforms = platforms.all;
|
2019-03-07 11:46:05 +00:00
|
|
|
};
|
2015-06-01 08:05:53 +00:00
|
|
|
}
|
|
|
|
|