diff options
author | Tuomas Tynkkynen <tuomas@tuxera.com> | 2017-03-04 02:14:22 +0200 |
---|---|---|
committer | Tuomas Tynkkynen <tuomas@tuxera.com> | 2017-03-04 02:14:22 +0200 |
commit | 2552b034ab29a8c9e030c23e74be2ae9fcd3b481 (patch) | |
tree | fae676674aa9579e81246b206294d5399748ce0a | |
parent | b66c0e78307b5264edafdcee6d11dfef4efe0f7e (diff) |
unionfs-fuse: Use fetchFromGitHub
-rw-r--r-- | pkgs/tools/filesystems/unionfs-fuse/default.nix | 10 |
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 = |