Merge pull request #57018 from andir/davix

davix: 0.6.4 -> 0.7.2
This commit is contained in:
Andreas Rammhold 2019-03-18 18:54:03 +01:00 committed by GitHub
commit f5c63cbb54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,22 +1,24 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig, openssl, libxml2, boost }:
{ stdenv, fetchurl, cmake, pkgconfig, openssl, libxml2, boost, python3, libuuid }:
stdenv.mkDerivation rec {
name = "davix-0.6.4";
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ stdenv cmake openssl libxml2 boost ];
version = "0.7.2";
name = "davix-${version}";
nativeBuildInputs = [ cmake pkgconfig python3 ];
buildInputs = [ openssl libxml2 boost libuuid ];
src = fetchFromGitHub {
owner = "cern-it-sdc-id";
repo = "davix";
rev = "R_0_6_4";
sha256 = "10hg7rs6aams96d4ghldgkrrnikskdpmn8vy6hj5j0s17a2yms6q";
# using the url below since the 0.7.2 release did carry a broken CMake file,
# 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";
sha256 = "1w1q7r6r5j5f23ra4qhx3x29w9z9xal23c2azazpfmcz88hkkmhz";
};
meta = with stdenv.lib; {
description = "Toolkit for Http-based file management";
longDescription = "Davix is a toolkit designed for file
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";
@ -24,6 +26,6 @@ stdenv.mkDerivation rec {
homepage = http://dmc.web.cern.ch/projects/davix/home;
maintainers = [ maintainers.adev ];
platforms = platforms.all;
};
};
}