nixpkgs/pkgs/tools/filesystems/f2fs-tools/default.nix
Ahmad Jagot b467630062 f2fs-tools: 1.13.0 -> 1.14.0
Allow use of 'compression' option on volume creation, supported at
mount-time in kernels 5.6+
2020-09-15 23:51:11 +02:00

26 lines
796 B
Nix

{ stdenv, fetchgit, autoreconfHook, libselinux, libuuid, pkgconfig }:
stdenv.mkDerivation rec {
pname = "f2fs-tools";
version = "1.14.0";
src = fetchgit {
url = "https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git";
rev = "refs/tags/v${version}";
sha256 = "06ss05n87i1c3149qb3n7j1qp2scv3g2adx0v6ljkl59ab9b5saj";
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ libselinux libuuid ];
patches = [ ./f2fs-tools-cross-fix.patch ];
meta = with stdenv.lib; {
homepage = "http://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git/";
description = "Userland tools for the f2fs filesystem";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ ehmry jagajaga ];
};
}