2019-03-07 12:46:05 +01:00
|
|
|
{ stdenv, fetchurl, cmake, pkgconfig, openssl, libxml2, boost, python3, libuuid }:
|
2015-06-01 10:05:53 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-05-04 23:59:05 +02:00
|
|
|
version = "0.7.6";
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "davix";
|
2019-03-07 12:46:05 +01:00
|
|
|
nativeBuildInputs = [ cmake pkgconfig python3 ];
|
|
|
|
buildInputs = [ openssl libxml2 boost libuuid ];
|
2015-06-01 10:05:53 +02:00
|
|
|
|
2020-05-04 23:59:05 +02:00
|
|
|
# using the url below since the 0.7.6 release did carry a broken CMake file,
|
2019-03-07 12:46:05 +01:00
|
|
|
# supposedly fixed in the next release
|
|
|
|
# https://github.com/cern-fts/davix/issues/40
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://grid-deployment.web.cern.ch/grid-deployment/dms/lcgutil/tar/davix/${version}/davix-${version}.tar.gz";
|
2020-05-04 23:59:05 +02:00
|
|
|
sha256 = "0wq66spnr616cns72f9dvr2xfvkdvfqqmc6d7dx29fpp57zzvrx2";
|
2015-06-01 10:05:53 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Toolkit for Http-based file management";
|
|
|
|
|
2019-03-07 12:46:05 +01:00
|
|
|
longDescription = "Davix is a toolkit designed for file
|
2015-06-01 10:05:53 +02: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 03:11:51 +02:00
|
|
|
homepage = "http://dmc.web.cern.ch/projects/davix/home";
|
2015-06-01 10:05:53 +02:00
|
|
|
maintainers = [ maintainers.adev ];
|
|
|
|
platforms = platforms.all;
|
2019-03-07 12:46:05 +01:00
|
|
|
};
|
2015-06-01 10:05:53 +02:00
|
|
|
}
|
|
|
|
|