mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 07:26:54 +00:00
29 lines
944 B
Nix
29 lines
944 B
Nix
{ stdenv, fetchgit, autoconf, automake, pkgconfig, gettext, libtool, git, pandoc, which, attr, libiconv }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "mergerfs-${version}";
|
|
version = "2.24.0";
|
|
|
|
# not using fetchFromGitHub because of changelog being built with git log
|
|
src = fetchgit {
|
|
url = "https://github.com/trapexit/mergerfs";
|
|
rev = "refs/tags/${version}";
|
|
sha256 = "12ci1i5zkarl1rz0pq1ldw0fpp4yfj8vz36jij63am7w7gp7qly2";
|
|
deepClone = true;
|
|
leaveDotGit = true;
|
|
};
|
|
|
|
nativeBuildInputs = [ autoconf automake pkgconfig gettext libtool git pandoc which ];
|
|
buildInputs = [ attr libiconv ];
|
|
|
|
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 ];
|
|
};
|
|
}
|