From c334daa5c226b611a9e21f8e54d9834ffc728a82 Mon Sep 17 00:00:00 2001 From: Tuomas Tynkkynen Date: Mon, 10 Apr 2017 14:44:29 +0300 Subject: [PATCH] f2fs-tools: Cleanup a bit --- pkgs/tools/filesystems/f2fs-tools/default.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/pkgs/tools/filesystems/f2fs-tools/default.nix b/pkgs/tools/filesystems/f2fs-tools/default.nix index acc3b5183fe1..2a590d44e217 100644 --- a/pkgs/tools/filesystems/f2fs-tools/default.nix +++ b/pkgs/tools/filesystems/f2fs-tools/default.nix @@ -1,16 +1,17 @@ -{ stdenv, fetchurl, autoreconfHook, libselinux, libuuid, pkgconfig }: +{ stdenv, fetchgit, autoreconfHook, libselinux, libuuid, pkgconfig }: stdenv.mkDerivation rec { name = "f2fs-tools-${version}"; version = "1.7.0"; - src = fetchurl { - url = "http://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git/snapshot/${name}.tar.gz"; - sha256 = "1m6bn1ibq0p53m0n97il91xqgjgn2pzlz74lb5bfzassx7159m1k"; + src = fetchgit { + url = "git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git"; + rev = "refs/tags/v${version}"; + sha256 = "0wpzklw8smnngng0dm25jdmi7v5zfhpz02dksyxpz0a7kzzvnqqm"; }; - nativeBuildInputs = [ autoreconfHook ]; - buildInputs = [ libselinux libuuid pkgconfig ]; + nativeBuildInputs = [ autoreconfHook pkgconfig ]; + buildInputs = [ libselinux libuuid ]; meta = with stdenv.lib; { homepage = "http://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git/";