2016-07-14 20:30:44 +00:00
|
|
|
{ stdenv, fetchgit, fuse, pkgconfig, which, attr, pandoc, git }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "mergerfs-${version}";
|
2016-09-28 10:44:17 +00:00
|
|
|
version = "2.16.1";
|
2016-07-14 20:30:44 +00:00
|
|
|
|
|
|
|
# not using fetchFromGitHub because of changelog being built with git log
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/trapexit/mergerfs";
|
|
|
|
rev = "refs/tags/${version}";
|
2016-09-28 10:44:17 +00:00
|
|
|
sha256 = "12fqgk54fnnibqiq82p4g2k6qnw3iy6dd64csmlf73yi67za5iwf";
|
2016-07-14 20:30:44 +00:00
|
|
|
deepClone = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ fuse pkgconfig which attr pandoc git ];
|
|
|
|
|
|
|
|
makeFlags = [ "PREFIX=$(out)" "XATTR_AVAILABLE=1" ];
|
|
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = https://github.com/trapexit/mergerfs;
|
|
|
|
description = "a FUSE based union filesystem";
|
|
|
|
license = stdenv.lib.licenses.isc;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.makefu ];
|
|
|
|
};
|
|
|
|
}
|