1 { lib, stdenv, fetchgit, autoreconfHook, libselinux, libuuid, pkg-config }:
3 stdenv.mkDerivation rec {
8 url = "https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git";
9 rev = "refs/tags/v${version}";
10 sha256 = "sha256-RSWvdC6kV0KfyJefK9qyFCWjlezFc7DBOOn+uy7S3Lk=";
13 nativeBuildInputs = [ autoreconfHook pkg-config ];
14 buildInputs = [ libselinux libuuid ];
16 patches = [ ./f2fs-tools-cross-fix.patch ];
19 homepage = "https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git/";
20 description = "Userland tools for the f2fs filesystem";
21 license = licenses.gpl2;
22 platforms = platforms.linux;
23 maintainers = with maintainers; [ ehmry jagajaga ];