Merge pull request #61334 from r-ryantm/auto-update/mergerfs

mergerfs: 2.25.1 -> 2.26.1
This commit is contained in:
Renaud 2019-05-16 20:23:33 +02:00 committed by GitHub
commit ffe83327b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 18 deletions

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.25.1";
pname = "mergerfs";
version = "2.26.1";
src = fetchFromGitHub {
owner = "trapexit";
repo = "mergerfs";
repo = pname;
rev = version;
sha256 = "1xrd18spp3wj25dd8513bah856w44gw8hilk190v13g6yafx64n6";
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 ];

View File

@ -2,14 +2,14 @@
, rsync, python3, pythonPackages }:
stdenv.mkDerivation rec {
name = "mergerfs-tools-${version}";
version = "20171221";
pname = "mergerfs-tools";
version = "20190411";
src = fetchFromGitHub {
owner = "trapexit";
repo = "mergerfs-tools";
rev = "9b4fe0097b5b51e1a7411a26eb344a24cc8ce1b4";
sha256 = "0qrixh3j58gzkmc8r2sgzgy56gm8bmhakwlc2gjb0yrpa1213na1";
repo = pname;
rev = "6e41fc5848c7cc4408caea86f3991c8cc2ac85a1";
sha256 = "0izswg6bya13scvb37l3gkl7mvi8q7l11p4hp4phdlcwh9jvdzcj";
};
nativeBuildInputs = [ makeWrapper ];
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
makeFlags = [
"INSTALL=${coreutils}/bin/install"
"PREFIX=$(out)"
"PREFIX=${placeholder "out"}"
];
postInstall = with stdenv.lib; ''
@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "Optional tools to help manage data in a mergerfs pool";
homepage = https://github.com/trapexit/mergerfs-tools;
homepage = "https://github.com/trapexit/mergerfs-tools";
license = licenses.isc;
platforms = platforms.linux;
maintainers = with maintainers; [ jfrankenau ];