3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/filesystems/mergerfs/default.nix
R. RyanTM 630329f11d mergerfs: 2.28.1 -> 2.28.2
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/mergerfs/versions
2019-09-27 10:39:30 -07:00

39 lines
1 KiB
Nix

{ stdenv, fetchFromGitHub, automake, autoconf, pkgconfig, gettext, libtool, pandoc, which, attr, libiconv }:
stdenv.mkDerivation rec {
pname = "mergerfs";
version = "2.28.2";
src = fetchFromGitHub {
owner = "trapexit";
repo = pname;
rev = version;
sha256 = "14h32acx2fcbyjf1f80vb86q845zwcjszd99a307ybdfhlv18r2m";
};
nativeBuildInputs = [
automake autoconf pkgconfig gettext libtool pandoc which
];
buildInputs = [ attr libiconv ];
preConfigure = ''
echo "${version}" > VERSION
'';
makeFlags = [ "PREFIX=${placeholder "out"}" "XATTR_AVAILABLE=1" ];
enableParallelBuilding = true;
postFixup = ''
ln -srf $out/bin/mergerfs $out/bin/mount.fuse.mergerfs
ln -srf $out/bin/mergerfs $out/bin/mount.mergerfs
'';
meta = {
description = "A FUSE based union filesystem";
homepage = "https://github.com/trapexit/mergerfs";
license = stdenv.lib.licenses.isc;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ jfrankenau makefu ];
};
}