nixpkgs/pkgs/tools/filesystems/f2fs-tools/default.nix
2022-06-11 08:29:00 -05:00

26 lines
799 B
Nix

{ lib, stdenv, fetchgit, autoreconfHook, libselinux, libuuid, pkg-config }:
stdenv.mkDerivation rec {
pname = "f2fs-tools";
version = "1.15.0";
src = fetchgit {
url = "https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git";
rev = "refs/tags/v${version}";
sha256 = "sha256-RSWvdC6kV0KfyJefK9qyFCWjlezFc7DBOOn+uy7S3Lk=";
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ libselinux libuuid ];
patches = [ ./f2fs-tools-cross-fix.patch ];
meta = with lib; {
homepage = "https://git.kernel.org/pub/scm/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 ];
};
}