mergerfs: 2.26.0 -> 2.26.1

Changes:
https://github.com/trapexit/mergerfs/releases/tag/2.26.1
This commit is contained in:
Renaud 2019-05-16 19:28:58 +02:00 committed by GitHub
parent 3561ede7f6
commit 927da26d34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,14 +1,14 @@
{ stdenv, fetchFromGitHub, automake, autoconf, pkgconfig, gettext, libtool, pandoc, which, attr, libiconv }:
stdenv.mkDerivation rec {
name = "mergerfs-${version}";
version = "2.26.0";
pname = "mergerfs";
version = "2.26.1";
src = fetchFromGitHub {
owner = "trapexit";
repo = "mergerfs";
repo = pname;
rev = version;
sha256 = "1arq09rn1lmvv7gj3ymwdiygm620zdcx1jh2qpa1dxrdg8xrwqa9";
sha256 = "16dgm2n36n6k7s1nzprzsv5bdckk0x2s08qpcvc42ny6jbivpjn3";
};
nativeBuildInputs = [
@ -17,21 +17,20 @@ stdenv.mkDerivation rec {
buildInputs = [ attr libiconv ];
preConfigure = ''
cat > src/version.hpp <<EOF
#pragma once
static const char MERGERFS_VERSION[] = "${version}";
EOF
echo "${version}" > VERSION
'';
makeFlags = [ "PREFIX=$(out)" "XATTR_AVAILABLE=1" ];
makeFlags = [ "PREFIX=${placeholder "out"}" "XATTR_AVAILABLE=1" ];
enableParallelBuilding = true;
postFixup = ''
ln -s $out/bin/mergerfs $out/bin/mount.fuse.mergerfs
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;
homepage = "https://github.com/trapexit/mergerfs";
license = stdenv.lib.licenses.isc;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ jfrankenau makefu ];