2017-06-28 14:32:13 +02:00
|
|
|
{ stdenv, fetchgit, autoconf, automake, pkgconfig, gettext, libtool, git, pandoc, which, attr, libiconv }:
|
2016-09-28 13:21:50 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "mergerfs-${version}";
|
2017-07-05 16:01:05 +02:00
|
|
|
version = "2.23.0";
|
2016-09-28 13:21:50 +02:00
|
|
|
|
|
|
|
# not using fetchFromGitHub because of changelog being built with git log
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/trapexit/mergerfs";
|
|
|
|
rev = "refs/tags/${version}";
|
2017-07-05 16:01:05 +02:00
|
|
|
sha256 = "0k4nn0f4c355q7hnni7iia8qi9m0khvyd04hx1hmlrnf0zsi9mfw";
|
2016-09-28 13:21:50 +02:00
|
|
|
deepClone = true;
|
2017-06-28 14:32:13 +02:00
|
|
|
leaveDotGit = true;
|
2016-09-28 13:21:50 +02:00
|
|
|
};
|
|
|
|
|
2017-06-28 14:32:13 +02:00
|
|
|
nativeBuildInputs = [ autoconf automake pkgconfig gettext libtool git pandoc which ];
|
|
|
|
buildInputs = [ attr libiconv ];
|
2016-09-28 13:21:50 +02:00
|
|
|
|
|
|
|
makeFlags = [ "PREFIX=$(out)" "XATTR_AVAILABLE=1" ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A FUSE based union filesystem";
|
|
|
|
homepage = https://github.com/trapexit/mergerfs;
|
|
|
|
license = stdenv.lib.licenses.isc;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2017-06-28 14:32:13 +02:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ jfrankenau makefu ];
|
2016-09-28 13:21:50 +02:00
|
|
|
};
|
|
|
|
}
|