nixpkgs/pkgs/tools/networking/davix/default.nix

32 lines
1.1 KiB
Nix
Raw Normal View History

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";
pname = "davix";
2021-01-17 03:51:22 +00:00
nativeBuildInputs = [ cmake pkg-config python3 ];
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
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
};
meta = with lib; {
2015-06-01 08:05:53 +00:00
description = "Toolkit for Http-based file management";
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;
homepage = "http://dmc.web.cern.ch/projects/davix/home";
2015-06-01 08:05:53 +00:00
maintainers = [ maintainers.adev ];
platforms = platforms.all;
};
2015-06-01 08:05:53 +00:00
}