26 lines
796 B
Nix
Raw Permalink Normal View History

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