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