about summary refs log tree commit diff
path: root/pkgs/tools/networking
diff options
context:
space:
mode:
authorAndreas Rammhold <andreas@rammhold.de>2019-03-18 18:54:03 +0100
committerGitHub <noreply@github.com>2019-03-18 18:54:03 +0100
commitf5c63cbb54fa64c4889b07e7c7f2ae85ca3d5ce4 (patch)
treeaf41552a72979da1713f2296fa576ea90cc35517 /pkgs/tools/networking
parent4a75888544fe912f99936fbdaefe1c32f7385b81 (diff)
parent9db4b80f19d5e13ddcb379cd98aea99b4130810f (diff)
downloadnixlib-f5c63cbb54fa64c4889b07e7c7f2ae85ca3d5ce4.tar
nixlib-f5c63cbb54fa64c4889b07e7c7f2ae85ca3d5ce4.tar.gz
nixlib-f5c63cbb54fa64c4889b07e7c7f2ae85ca3d5ce4.tar.bz2
nixlib-f5c63cbb54fa64c4889b07e7c7f2ae85ca3d5ce4.tar.lz
nixlib-f5c63cbb54fa64c4889b07e7c7f2ae85ca3d5ce4.tar.xz
nixlib-f5c63cbb54fa64c4889b07e7c7f2ae85ca3d5ce4.tar.zst
nixlib-f5c63cbb54fa64c4889b07e7c7f2ae85ca3d5ce4.zip
Merge pull request #57018 from andir/davix
davix: 0.6.4 -> 0.7.2
Diffstat (limited to 'pkgs/tools/networking')
-rw-r--r--pkgs/tools/networking/davix/default.nix24
1 files changed, 13 insertions, 11 deletions
diff --git a/pkgs/tools/networking/davix/default.nix b/pkgs/tools/networking/davix/default.nix
index 3be2b0401bc4..74aa30bb95e0 100644
--- a/pkgs/tools/networking/davix/default.nix
+++ b/pkgs/tools/networking/davix/default.nix
@@ -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;
-  };  
+  };
 }