diff --git a/pkgs/tools/filesystems/f2fs-tools/default.nix b/pkgs/tools/filesystems/f2fs-tools/default.nix index 073dc585e74d..36ffce9cdfe8 100644 --- a/pkgs/tools/filesystems/f2fs-tools/default.nix +++ b/pkgs/tools/filesystems/f2fs-tools/default.nix @@ -1,21 +1,16 @@ -{ stdenv, fetchgit, autoconf, automake, libtool, pkgconfig, libuuid }: +{ stdenv, fetchurl, autoreconfHook, libuuid }: stdenv.mkDerivation rec { name = "f2fs-tools-${version}"; - version = "1.4.1"; + version = "1.5.0"; - src = fetchgit { - url = git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git; - rev = "refs/tags/v${version}"; - sha256 = "16i74r2656q6x4gg5kgjy2fxipr5czbm10r66s34pi2lfczbwhjr"; + src = fetchurl { + url = "http://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git/snapshot/${name}.tar.gz"; + sha256 = "1pdgl78xkagxlmavy6x118wjzz8yvl8n08fc1m6wah9bf93qlhdf"; }; - buildInputs = [ autoconf automake libtool pkgconfig libuuid ]; - - preConfigure = '' - sed -i '/AC_SUBST/d' configure.ac - autoreconf --install - ''; + nativeBuildInputs = [ autoreconfHook ]; + buildInputs = [ libuuid ]; meta = with stdenv.lib; { homepage = "http://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git/";