mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
921b6ad8b0
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
39 lines
1.0 KiB
Nix
39 lines
1.0 KiB
Nix
{ stdenv, fetchFromGitHub, automake, autoconf, pkgconfig, gettext, libtool, pandoc, which, attr, libiconv }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "mergerfs";
|
|
version = "2.27.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "trapexit";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "0p8yb9dbbjp388kdi86lg1rg2zdqbjr0q5ka1f04h64s8vmkw41l";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|