f2fs-tools: Cleanup a bit

This commit is contained in:
Tuomas Tynkkynen 2017-04-10 14:44:29 +03:00
parent 5108c4c7b2
commit c334daa5c2

View File

@ -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/";