nixpkgs/pkgs/tools/filesystems/f2fs-tools/default.nix

26 lines
794 B
Nix
Raw Normal View History

2017-04-10 12:44:29 +01:00
{ stdenv, fetchgit, autoreconfHook, libselinux, libuuid, pkgconfig }:
2014-03-23 01:47:37 +00:00
stdenv.mkDerivation rec {
pname = "f2fs-tools";
2019-09-28 02:54:10 +01:00
version = "1.13.0";
2014-03-23 01:47:37 +00:00
2017-04-10 12:44:29 +01:00
src = fetchgit {
url = "https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git";
2017-04-10 12:44:29 +01:00
rev = "refs/tags/v${version}";
2019-09-28 02:54:10 +01:00
sha256 = "0h6wincsvg6s232ajxblg66r5nx87v00a4w7xkbxgbl1qyny477j";
2014-03-23 01:47:37 +00:00
};
2017-04-10 12:44:29 +01:00
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ libselinux libuuid ];
2014-03-23 01:47:37 +00:00
2018-11-29 02:11:57 +00:00
patches = [ ./f2fs-tools-cross-fix.patch ];
2015-06-06 13:21:08 +01:00
meta = with stdenv.lib; {
homepage = http://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git/;
2014-03-23 01:47:37 +00:00
description = "Userland tools for the f2fs filesystem";
2015-06-06 13:21:08 +01:00
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ ehmry jagajaga ];
2014-03-23 01:47:37 +00:00
};
}