2021-01-17 09:17:16 +00:00
|
|
|
{ lib, stdenv, fetchgit, autoreconfHook, libselinux, libuuid, pkg-config }:
|
2014-03-23 01:47:37 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "f2fs-tools";
|
2022-05-26 01:46:00 +00:00
|
|
|
version = "1.15.0";
|
2014-03-23 01:47:37 +00:00
|
|
|
|
2017-04-10 11:44:29 +00:00
|
|
|
src = fetchgit {
|
2018-10-09 20:37:18 +00:00
|
|
|
url = "https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git";
|
2017-04-10 11:44:29 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2022-05-26 01:46:00 +00:00
|
|
|
sha256 = "sha256-RSWvdC6kV0KfyJefK9qyFCWjlezFc7DBOOn+uy7S3Lk=";
|
2014-03-23 01:47:37 +00:00
|
|
|
};
|
|
|
|
|
2021-01-17 09:17:16 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2017-04-10 11:44:29 +00:00
|
|
|
buildInputs = [ libselinux libuuid ];
|
2014-03-23 01:47:37 +00:00
|
|
|
|
2018-11-29 02:11:57 +00:00
|
|
|
patches = [ ./f2fs-tools-cross-fix.patch ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2022-06-05 15:36:26 +00:00
|
|
|
homepage = "https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git/";
|
2014-03-23 01:47:37 +00:00
|
|
|
description = "Userland tools for the f2fs filesystem";
|
2015-06-06 12:21:08 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
2015-12-05 21:41:25 +00:00
|
|
|
maintainers = with maintainers; [ ehmry jagajaga ];
|
2014-03-23 01:47:37 +00:00
|
|
|
};
|
|
|
|
}
|