2017-04-10 04:44:29 -07:00
|
|
|
{ stdenv, fetchgit, autoreconfHook, libselinux, libuuid, pkgconfig }:
|
2014-03-22 18:47:37 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "f2fs-tools";
|
2018-08-04 11:55:23 -07:00
|
|
|
version = "1.11.0";
|
2014-03-22 18:47:37 -07:00
|
|
|
|
2017-04-10 04:44:29 -07:00
|
|
|
src = fetchgit {
|
2018-10-09 13:37:18 -07:00
|
|
|
url = "https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git";
|
2017-04-10 04:44:29 -07:00
|
|
|
rev = "refs/tags/v${version}";
|
2018-08-04 11:55:23 -07:00
|
|
|
sha256 = "188yv77ga466wpzbirsx6vspym8idaschgi7cx92z4jwqpnkk5gv";
|
2014-03-22 18:47:37 -07:00
|
|
|
};
|
|
|
|
|
2017-04-10 04:44:29 -07:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
|
|
buildInputs = [ libselinux libuuid ];
|
2014-03-22 18:47:37 -07:00
|
|
|
|
2018-11-28 18:11:57 -08:00
|
|
|
patches = [ ./f2fs-tools-cross-fix.patch ];
|
|
|
|
|
2015-06-06 05:21:08 -07:00
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 13:03:30 -07:00
|
|
|
homepage = http://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git/;
|
2014-03-22 18:47:37 -07:00
|
|
|
description = "Userland tools for the f2fs filesystem";
|
2015-06-06 05:21:08 -07:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
2015-12-05 13:41:25 -08:00
|
|
|
maintainers = with maintainers; [ ehmry jagajaga ];
|
2014-03-22 18:47:37 -07:00
|
|
|
};
|
|
|
|
}
|