nixpkgs/pkgs/tools/filesystems/mergerfs/default.nix
R. RyanTM 60b6c93f51 mergerfs: 2.24.2 -> 2.25.1
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
2018-12-15 00:25:19 -08:00

36 lines
956 B
Nix

{ stdenv, fetchFromGitHub, automake, autoconf, pkgconfig, gettext, libtool, pandoc, which, attr, libiconv }:
stdenv.mkDerivation rec {
name = "mergerfs-${version}";
version = "2.25.1";
src = fetchFromGitHub {
owner = "trapexit";
repo = "mergerfs";
rev = version;
sha256 = "1xrd18spp3wj25dd8513bah856w44gw8hilk190v13g6yafx64n6";
};
nativeBuildInputs = [
automake autoconf pkgconfig gettext libtool pandoc which
];
buildInputs = [ attr libiconv ];
preConfigure = ''
cat > src/version.hpp <<EOF
#pragma once
static const char MERGERFS_VERSION[] = "${version}";
EOF
'';
makeFlags = [ "PREFIX=$(out)" "XATTR_AVAILABLE=1" ];
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 ];
};
}