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

28 lines
818 B
Nix
Raw Normal View History

2014-03-23 02:47:37 +01:00
{ stdenv, fetchgit, autoconf, automake, libtool, pkgconfig, libuuid }:
stdenv.mkDerivation rec {
name = "f2fs-tools-${version}";
2015-06-06 14:21:08 +02:00
version = "1.4.1";
2014-03-23 02:47:37 +01:00
src = fetchgit {
url = git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git;
rev = "refs/tags/v${version}";
2015-06-06 14:21:08 +02:00
sha256 = "16i74r2656q6x4gg5kgjy2fxipr5czbm10r66s34pi2lfczbwhjr";
2014-03-23 02:47:37 +01:00
};
buildInputs = [ autoconf automake libtool pkgconfig libuuid ];
preConfigure = ''
sed -i '/AC_SUBST/d' configure.ac
autoreconf --install
'';
2015-06-06 14:21:08 +02:00
meta = with stdenv.lib; {
2014-03-23 02:47:37 +01:00
homepage = "http://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git/";
description = "Userland tools for the f2fs filesystem";
2015-06-06 14:21:08 +02:00
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ emery jagajaga ];
2014-03-23 02:47:37 +01:00
};
}