summaryrefslogtreecommitdiffstats
path: root/pkgs/tools
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas@tuxera.com>2017-03-04 02:14:22 +0200
committerTuomas Tynkkynen <tuomas@tuxera.com>2017-03-04 02:14:22 +0200
commit2552b034ab29a8c9e030c23e74be2ae9fcd3b481 (patch)
treefae676674aa9579e81246b206294d5399748ce0a /pkgs/tools
parentb66c0e78307b5264edafdcee6d11dfef4efe0f7e (diff)
unionfs-fuse: Use fetchFromGitHub
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/filesystems/unionfs-fuse/default.nix10
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/tools/filesystems/unionfs-fuse/default.nix b/pkgs/tools/filesystems/unionfs-fuse/default.nix
index 73db9e2ca203..b7d7a07a084f 100644
--- a/pkgs/tools/filesystems/unionfs-fuse/default.nix
+++ b/pkgs/tools/filesystems/unionfs-fuse/default.nix
@@ -1,12 +1,14 @@
-{ stdenv, fetchurl, cmake, fuse }:
+{ stdenv, fetchFromGitHub, cmake, fuse }:
stdenv.mkDerivation rec {
name = "unionfs-fuse-${version}";
version = "1.0";
- src = fetchurl {
- url = "https://github.com/rpodgorny/unionfs-fuse/archive/v${version}.tar.gz";
- sha256 = "02fcrjb06lxkxpk4l8arsqmai807sray24lj2nrasqaacg80ps1f";
+ src = fetchFromGitHub {
+ owner = "rpodgorny";
+ repo = "unionfs-fuse";
+ rev = "v${version}";
+ sha256 = "0g2hd6yi6v8iqzmgncg1zi9a7ixy9hsh51rzf6jnmzi79543dihf";
};
patches =