nixpkgs/pkgs/tools/filesystems/f2fs-tools/default.nix
2018-11-29 05:11:57 +03:00

25 lines
804 B
Nix

{ stdenv, fetchgit, autoreconfHook, libselinux, libuuid, pkgconfig }:
stdenv.mkDerivation rec {
name = "f2fs-tools-${version}";
version = "1.11.0";
src = fetchgit {
url = "https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git";
rev = "refs/tags/v${version}";
sha256 = "188yv77ga466wpzbirsx6vspym8idaschgi7cx92z4jwqpnkk5gv";
};
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 ];
};
}