summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorJean-Pierre PRUNARET <jean-pierre+git@prunetwork.fr>2017-01-22 21:41:51 +0100
committerJean-Pierre PRUNARET <jean-pierre+git@prunetwork.fr>2017-01-24 13:05:58 +0100
commit86af731cf81e78811251a891e8693b28058bd1b9 (patch)
tree90e185f93db2984709eab924a73bf25b48c0dbda /pkgs/tools
parent034d39b2447b251e9613decb6e987efd794a1c15 (diff)
downloadnixlib-86af731cf81e78811251a891e8693b28058bd1b9.tar
nixlib-86af731cf81e78811251a891e8693b28058bd1b9.tar.gz
nixlib-86af731cf81e78811251a891e8693b28058bd1b9.tar.bz2
nixlib-86af731cf81e78811251a891e8693b28058bd1b9.tar.lz
nixlib-86af731cf81e78811251a891e8693b28058bd1b9.tar.xz
nixlib-86af731cf81e78811251a891e8693b28058bd1b9.tar.zst
nixlib-86af731cf81e78811251a891e8693b28058bd1b9.zip
hubicfuse: 2.1.0 -> 3.0.0
* bump version
* fetchurl -> fetchFromGitHub
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/filesystems/hubicfuse/default.nix12
1 files changed, 7 insertions, 5 deletions
diff --git a/pkgs/tools/filesystems/hubicfuse/default.nix b/pkgs/tools/filesystems/hubicfuse/default.nix
index 7ce48d288030..2188e9570823 100644
--- a/pkgs/tools/filesystems/hubicfuse/default.nix
+++ b/pkgs/tools/filesystems/hubicfuse/default.nix
@@ -1,12 +1,14 @@
-{ stdenv, fetchurl, pkgconfig, curl, openssl, fuse, libxml2, json_c, file }:
+{ stdenv, fetchFromGitHub, pkgconfig, curl, openssl, fuse, libxml2, json_c, file }:
 
 stdenv.mkDerivation rec {
   name = "hubicfuse-${version}";
-  version = "2.1.0";
+  version = "3.0.0";
 
-  src = fetchurl {
-    url = https://github.com/TurboGit/hubicfuse/archive/v2.1.0.tar.gz;
-    sha256 = "1mnijcwac6k3f6xknvdrsbmkkizpwbayqkb5l6jic15ymxv1fs7d";
+  src = fetchFromGitHub {
+    owner = "TurboGit";
+    repo = "hubicfuse";
+    rev = "v${version}";
+    sha256 = "1y4n63bk9vd6n1l5psjb9xm9h042kw4yh2ni33z7agixkanajv1s";
   };
 
   buildInputs = [ pkgconfig curl openssl fuse libxml2 json_c file ];